JS: Object.prototype
What is Object.prototype
Object.prototype is the root parent of all standard objects.
So, for any property key k of
Object.prototype, you can access it by
obj.k where obj is any object.
If the object obj has k as its own property, the own property is used.
Properties
Function Properties
- JS: Object.prototype.hasOwnProperty 👎
- JS: Object.prototype.isPrototypeOf
- JS: Object.prototype.propertyIsEnumerable 👎
- JS: Object.prototype.toString
- JS: Object.prototype.valueOf
Object.prototype.toLocaleString