JS: Intl (class)

By Xah Lee. Date: . Last updated: .

What is the Keyword β€œIntl”

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

console.log( globalThis["Intl"] === Intl )

Type

Type of Intl is Object .

console.log(typeof Intl === "object");

Parent

Parent of Intl is Object.prototype.

console.log(Reflect.getPrototypeOf(Intl) === Object.prototype);

Purpose

Purpose of Intl object is as a namespace for Intl related functions and constants.

Properties

xtodo
work in progress