→ Function
The Function constructor parses the argument list and creates a Function object.
Wraps a built-in or JavaScript function.
| Name | Type | Access | Description |
|---|---|---|---|
| Object | read/write | The function arguments, packed into an array. | |
| Number | readonly | The number of formal arguments. | |
| Number | readonly | The number of formal arguments. | |
| String | readonly | The function name. |
The Function constructor parses the argument list and creates a Function object.
Apply a this object and an argument list to a function.
Apply a this object and arguments to a function.
Creates a string representation of this object that can be fed back to eval() to re-create an object. Works only with JavaScript functions.
Returns the function definition as a string.
Properties elsewhere that hold a Function.
Method parameters that accept a Function.
Methods that return a Function.