Top-level functions (JavaScript)
Top-level functions are not associated with an object. In the ECMA specification, these functions are properties and methods of the global object.
The following table summarizes the top-level functions.
Top Level Function | Description |
---|---|
print |
Prints a string to the log file. |
_dump |
Prints the string representation of an object to the log file. |
eval |
Evaluates an expression or statements. |
isNaN |
Evaluates an argument to determine if it is not a number. |
parseFloat |
Parses a string argument and returns a floating-point number. |
parseInt |
Parses a string argument and returns an integer. |