Returns a string representing the source code of the function.
Method of Function
Syntax
valueOf()
Parameters
None
Description
The valueOf method returns the following values:
- For the built-in Function object, valueOf returns the following string indicating that the source code is not available:
- For custom functions, toSource returns the MetaScript source that defines the object as a string. The method is equivalent to the toString method of the function.
This method is usually called internally by MetaScript and not explicitly in code.