Skip to content

Q14. All object have prototypes. (wrong explanation) #797

@Ali7040

Description

@Ali7040

The base object is the object created by the user, or an object that is created using the new keyword. is incorrect.

The correct explanation is that Object.prototype is the base object in JavaScript. All objects, except for Object.prototype itself, have prototypes. Objects created by the user or with the new keyword inherit from a prototype, typically Object.prototype or a constructor's prototype.

Please correct me if I am wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions