Please enable JavaScript.
Coggle requires JavaScript to display documents.
JavaScript Objects (constructors (uses (this, body), operator (new (new…
JavaScript Objects
-
-
Object.defineProperty(this, 'fullName', {
get(){
return this.name + ' ' + this.lName;
}
});
-
-
-
Object.defineProperty(this, 'setAge', {set(value){this.age = value;}});
-
-
Functions
-
const Circle = new Function('radius', 'body of function');
-
-
-
-
-