August 1999
Intermediate to advanced
1488 pages
72h 53m
English
var variable = new Function() var variable = new Function(int) var variable = new Function(arg1, …, argN)
Function() is a constructor that creates a Function object. Table 6.26 lists the different methods and properties of the Function object.
| Property/Method | Description |
|---|---|
| apply() | Applies method to multiple objects |
| arguments | Array reflecting function arguments |
| arity | Number of arguments expected by function |
| call() | Allows calling of methods belonging to other functions |
| caller | Reference to function caller |
| prototype | Prototype for a class of objects |
| toSource() | Created copy of function ... |
Read now
Unlock full access