Latest

recent

JavaScript Function Reference


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

Top-level Functions

FF: Firefox, N: Netscape, IE: Internet Explorer

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

Top-level Properties

Property Description FF N IE 
Infinity A numeric value that represents positive or negative infinity 1 4 4
NaN Indicates that a value is "Not a Number" 1 4 4
undefined Indicates that a variable has not been assigned a value 1 4 5.5

Goto Javascript Objects Complete reference to learn more about Javascript objects
JavaScript Function Reference Reviewed by 1000sourcecodes on 03:52 Rating: 5
Powered by Blogger.