This commit is contained in:
Stephane Moreau
2018-04-14 01:22:33 +01:00
parent 65bbc18233
commit 40ea7c3283

View File

@@ -4,7 +4,7 @@
* ******************************************************************************************* */ * ******************************************************************************************* */
// Global object: properties // Global object: properties
Object.length // length is a property of a function object, and indicates how many arguments the function expects, i.e. the number of formal parameters. This number does not include the rest parameter. Has a value of 1. Object.length // length is a property of a function object, and indicates how many arguments the function expects, i.e. the number of formal parameters. This number does not include the rest parameter. Has a value of 1.
Object.prototype // Represents the Object prototype object and allows to add new properties and methods to all objects of type Object. Object.prototype // Represents the Object prototype object and allows to add new properties and methods to all objects of type Object.
// Methods of the Object constructor // Methods of the Object constructor