Thursday, April 4, 2013

Javascript Top-level Functions & Properties


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

Top-level Properties
Infinity A numeric value that represents positive or negative infinity
NaN Indicates that a value is "Not a Number"
Undefined Indicates that a variable has not been assigned a value

No comments:

Post a Comment