JavaScript Global has some useful methods.
The global properties and functions can be used with any JavaScript objects.
Property | Description |
Global Infinity Property | Infinity is a numeric value that represents positive infinity. |
Global undefined type | The undefined type indicates that a variable has not been assigned a value. |
Method | Description |
Global decodeURI() Function | The decodeURI() function can decode a URI. |
Global decodeURIComponent() Function | The decodeURIComponent() function decodes a URI component. |
Global encodeURI() Function | The encodeURI() function is used to encode a URI. |
Global encodeURIComponent() Function | The encodeURIComponent() function encodes a URI component. |
Global escape() Function | The escape() function was deprecated in JavaScript version 1.5. Use encodeURI() or encodeURIComponent() instead. |
Global eval() Function | The eval() function evaluates or executes an argument. |
Global isFinite() Function | The isFinite() function determines whether a number is a finite, legal number. |
Global isNaN() Function | The isNaN() function determines whether a value is an illegal number (Not-a-Number). |
Global Number() Function | The Number() function converts the object to a number. |
Global parseFloat() Function | The parseFloat() function parses a string and returns a floating point number. |
Global parseInt() Function | The parseInt() function parses a string and returns an integer. |
Global String() Function | The String() function converts a value to a string. |
Global unescape() Function | The unescape() function was deprecated in JavaScript version 1.5. Use decodeURI() or decodeURIComponent() instead. |