If you look in the docs it says that Object.Create():
The Object.create() method creates a new object with the specified prototype object and properties.
I think this is ambiguous, because it doesn't say which prototype property is modified (internal [[Prototype]] or publicly available Prototype all functions have). Should it be fixed in the docs or maybe I'm not aware of the terminology?
Object.Create( YourAnotherObject.prototype )protoargument, in code:var o = Object.create(proto); Object.getPrototypeOf(o) === protoreturnstrue[[Prototype]]. I'm only asking whether the docs should be corrected.prototypeproperty" are you referring to? If you're thinking aboutFunction.prototype, then that is only relevant to thenewoperator. Thecreate()method does not use it and creates objects with "magic".prototypeproperties - internal[[Prototype]]and accessiblePrototype. Now if the docs says an object is created, it doesn't say if it's a function object or usual object with only oneprototypeproperty.