From http://www.w3schools.com (Copyright Refsnes Data)

JavaScript Functions

« Previous Next Chapter »

The top-level properties and functions can be used with all the built-in JavaScript objects.


Top-level Functions

F: Firefox, IE: Internet Explorer

Function Description F IE
decodeURI() Decodes a URI 1 5.5
decodeURIComponent() Decodes a URI component 1 5.5
encodeURI() Encodes a URI 1 5.5
encodeURIComponent() Encodes a URI component 1 5.5
escape() Encodes a string 1 3
eval() Evaluates a string and executes it as if it was script code 1 3
isFinite() Checks if a value is a legal number 1 4
isNaN() Checks if a value is not a legal number 1 3
Number() Converts an object's value to a number 1  
parseFloat() Parses a string and returns a floating point number 1 3
parseInt() Parses a string and returns an integer 1 3
String() Converts an object's value to a string 1  
unescape() Decodes a string encoded by escape() 1 3

JavaScript Constants

Function Description F IE
Infinity A numeric value that represents positive/negative infinity 1 4
undefined Indicates that a variable has not been assigned a value 1 5.5

« Previous Next Chapter »

From http://www.w3schools.com (Copyright Refsnes Data)