Tin mới
JavaScript: Scripting language
Web APIs: Programming interfaces
Structuring content with HTML module
Dynamic scripting with JavaScript module
Represents the arguments passed to this function. For strict, arrow, async, and generator functions, accessing the arguments property throws a TypeError. Use the arguments object inside function closures instead.
Represents the arguments passed to this function. For strict, arrow, async, and generator functions, accessing the arguments property throws a TypeError. Use the arguments object inside function closures instead.
Function.prototype.constructor
Represents the arguments passed to this function. For strict, arrow, async, and generator functions, accessing the arguments property throws a TypeError. Use the arguments object inside function closures instead.
Calls a function with a given this value and optional arguments provided as an array (or an array-like object).
Calls a function with a given this value and optional arguments provided as an array (or an array-like object).
Calls a function with a given this value and optional arguments provided as an array (or an array-like object).
Calls a function with a given this value and optional arguments provided as an array (or an array-like object).
Returns a string representing the source code of the function. Overrides the Object.prototype.toString method.
Function.prototype[Symbol.hasInstance]()
Calls a function with a given this value and optional arguments provided as an array (or an array-like object).
Difference between Function constructor and function declaration
Functions created with the Function constructor do not create closures to their creation contexts; they always are created in the global scope. When running them, they will only be able to access their own local variable
This page was last modified on Jul 10, 2025 by MDN contributors.