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.log(globalThis["Object"] === Object);

Type

Type of Object is a function.

typeof Object === "function"

Parent

Parent of Object is Function.prototype.

Reflect.getPrototypeOf ( Object ) === Function.prototype

Purpose

Purpose of Object is:

Object Consructor

Properties

JavaScript, Object and Inheritance