JavaScript has a standard built-in library that provides base types and more.
function |
description |
eval(str) |
Evaluates JavaScript code represented as a string. |
encodeURI(uri) |
Encodes a URI. Special characters will not be encoded: , / ? : @ & = + $ #. For encoding special characters use encodeURIComponent() function. |
encodeURIComponent(str)
|
Encodes a URI component, including special characters:, / ? : @ & = + $ #. |
decodeURI(uri) |
Decodes a URI, previously created by encodeURI() function |
decodeURIComponent(str)
|
Decodes a URI component previously created by encodeURIComponent. |
isFinite(x) |
Determines whether the passed value is a finite number. |
parseFloat(str) |
Parses a string as a floating-point value. |
parseInt(str, base) |
Parses a string as an integer value with specified radix. |