Like any other scripting language Javascript also has its own built in functions. These built in functions also known as global functions.
The beauty of these function are, you can use these function with any Javascript built in object such as String , Number, Date, RegExp, Array, Boolean and Math. Javascript's all built in object support these functions.
Here is a list of built in functions with description.
Function | Description |
---|---|
isNaN | This function is intended to determines whether value is a legal number or not. |
isFinite | This function is intended to find whether a number is a finite legal number. |
eval | This function is intended to execute Javascript source code. |
number | This function is intended to converts object to the corresponding number value. |
string | This function is intended to converts object to the corresponding string value. |
parseInt | This function is intended to converts string value to integer. |
parseFloat | This function is intended to converts string value to floating point number. |
escape | This function is intended to encodes the string value into world wide acceptable format. |
encodeURI | This function is intended to encode URI. |
decodeURI | This function is intended to decode URI. |
encodeURIComponent | This function is intended to encode URI component. |
decodeURIComponent | This function is intended to decode URI component. |
In order to understand each filter, click on any filter listed in the above table.