Please enable JavaScript.
Coggle requires JavaScript to display documents.
PROTOTYPES - Coggle Diagram
PROTOTYPES
CONSTR-FUNC
.Prototype
Equals
new ConstrFunc().__proto__
PROPERTY
Descriptors
Configurable
Deletable
Enumerable
Value
Writable
Changeable
Getting
Object
.getOwnPropertyDescriptor(...)
objectBase
'toString'
Setting
Object
.defineProperty(...)
person
'name'
{...}
writable: false
enumerable: false
MEMBERS
Instance
Separate
Copy
Every
InstanceObj
Known-As
Own
Properties
Prototype
Only
Copy
One
ConstFunc
.prototype
.newMethod =
func()
var = this.radius
ITERATING
Properties
Instance
Object.keys(obj)
All
for (let key in obj)
AVOID
Extending
Builtin-Objects
Array.prototype.newMember
INHERITANCE
Prototype
ParentObj
Get
Object
.getPrototypeOf(obj)
How
JSEngine
Finds-Property
Object
Prototype
Till-RootObject
MULTILEVEL
ObjectsCreated
Same
Constructor
Prototype