-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUser.js
More file actions
52 lines (52 loc) · 1.38 KB
/
Copy pathUser.js
File metadata and controls
52 lines (52 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var User = /** @class */ (function () {
function User() {
}
Object.defineProperty(User.prototype, "age", {
get: function () {
return this._age;
},
set: function (value) {
this._age = value;
},
enumerable: true,
configurable: true
});
Object.defineProperty(User.prototype, "firstname", {
get: function () {
return this._firstname;
},
set: function (value) {
this._firstname = value;
},
enumerable: true,
configurable: true
});
Object.defineProperty(User.prototype, "lastname", {
get: function () {
return this._lastname;
},
set: function (value) {
this._lastname = value;
},
enumerable: true,
configurable: true
});
Object.defineProperty(User.prototype, "street", {
get: function () {
return this._street;
},
set: function (value) {
this._street = value;
},
enumerable: true,
configurable: true
});
User.prototype.log = function () {
console.log("User " + this._firstname + " " + this._lastname + " " + this._age);
};
return User;
}());
exports.User = User;
//# sourceMappingURL=User.js.map