JS: Array (class)

By Xah Lee. Date: . Last updated: .

What is the Keyword β€œArray”

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

console.log(globalThis["Array"] === Array);

Type

Type of Array is a function.

typeof Array === "function"

Parent

Parent of Array is Function.prototype.

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

Purpose

Purpose of Array is:

Array Constructor

Properties

JavaScript. Array