

If you change function's prototype then only new objects will be linked to changed prototype.

The getPrototypeOf() method is standardize since ECMAScript 5 and is available since IE 9.Īs mentioned above, each object's prototype is linked to function's prototype object. Internet Explorer does not include _proto_. Returns the primitive value of the specified object.Ĭhrome and Firefox denotes object's prototype as _proto_ which is public link whereas internally it reference as ]. Returns a boolean that indicates whether the specified property is enumerable or not. Returns a boolean indication whether the specified object is in the prototype chain of the object this method is called upon. Returns a boolean indicating whether an object contains the specified property as a direct property of that object and not inherited through the prototype chain.
