Function.prototype should not be confused with Object.prototype. Function.prototype relates to the prototype that is meant to be assigned to instances of objects created by a function, when used as a constructor.
Object.prototype relates to the Object prototype object. Prototypes of objects are retrieved using Object.getPrototypeOf.
Top comments (0)