Developer Resources
Function
Overview
A class that represents a function
Base Class
Constructor
- Function()
Methods
- Function.toString
- Returns a string that represents the function source
Inherited Methods
- Object.hasOwnProperty
- Checks for the existence of an object property
- Object.toLocaleString
- Returns a string that represents the object.
- Object.toString
- Returns a string that represents the object.
- Object.valueOf
- Returns the 'primitive' value of the object.
Function.toString
- function Function.toString() : String
Returns
Returns a string containing the source code for a function
Description
Returns a string that represents the function source