JS: Function (class)

By Xah Lee. Date: . Last updated: .

What is the Keyword โ€œFunctionโ€

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

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

Type

Type of Function is a function.

typeof Function === "function"

Parent

Parent of Function is Function.prototype.

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

Purpose

Purpose of Function is:

Function Constructor

Properties

JavaScript. Function