JavaScript Global Properties / Functions
JavaScript global properties and methods can be used to create Javascript objects.
JavaScript global properties
Attributes | description |
---|---|
Infinity | It represents a positive infinite value. |
NaN | It indicates that a value is not a numerical value. |
undefined | Indicating an undefined value. |
JavaScript Global Functions
function | description |
---|---|
decodeURI () | Decoding an encoded URI. |
decodeURIComponent () | Decoding an encoded URI component. |
encodeURI () | String encoded as URI. |
encodeURIComponent () | String encoded URI component. |
escape () | String is encoded. |
eval () | Calculate JavaScript string and use it as the script code to execute. |
isFinite () | Check whether a value is a finite number of big. |
isNaN () | Check whether a value is a number. |
Number () | Converting the value of an object as a number. |
parseFloat () | Parsing a string and returns a float. |
parseInt () | Parsing a string and returns an integer. |
String () | Converting the value of an object as a string. |
unescape () | By the escape () to decode the encoded string. |