JS: Object (class)

By Xah Lee. Date: . Last updated: .

What is the Keyword “Object”

Object is the value of the property key "Object" of the Global Object .

console.assert((globalThis["Object"] === Object) === true);

Type

Type of Object is a function.

console.assert(typeof Object === "function");

Parent

Parent of Object is Function.prototype.

console.assert(Reflect.getPrototypeOf(Object) === Function.prototype);

Purpose

Purpose of Object is:

Object Consructor

Properties

JavaScript. Object and Inheritance