JS: Function Object
What is the Keyword “Function”
Function
is the value of the property key "Function"
of the Global Object
.
window.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:
- To create a function from strings. (Useful when you need to generate function definition at run time).
- Holds the property key
"prototype"
. Its value is the parent of all instance of function.
Function Constructor
Properties
JavaScript, Function
- JS: Define Function
- JS: Arrow Function
- JS: Function Parameters
- JS: arguments Object
- JS: Function Rest Parameters
- JS: Function Argument Default Value
- JS: Function Argument Destructure
- JS: Function Declaration vs Function Expression
- JS: Closure
- JS: Function Call, Apply, Bind
- JS: Functional Programing
- JS: Function Pipe 🚀
- JS: Function Object
- JS: Function Constructor
- JS: Function.prototype