Function |
escape(string) |
escape(string) method converts the special characters like space, colon etc of the given string in to escape sequences |
escape("test val"); -> return: "test%20val" |
Function |
unescape(string) |
unescape(string); function replaces the escape sequences with original values. %20 is the escape sequence for space " " |
unescape("test%20val"); |
Function |
eval(string) |
Evaluates a string of JavaScript code in the context of the specified object |
|
Function |
isFinite(x) |
Determines whether a number is finite. Returns false if x is +infinity, -infinity, or NaN |
|
Function |
isNaN(testValue) |
The isNaN function evaluates an argument to determine if it is 'NaN' (not a number) |
isNaN(23); -> return: false |
Function |
Number(obj) |
Converts the specified object to a number |
|
Function |
parseFloat(string) |
parseFloat parses its argument, the string str, and attempts to return a floating-point number. If it encounters a character other than a sign (+ or -), a numeral (0-9), a decimal point, or an exponent, then it returns the value up to that point and ignores that character and all succeeding characters. If the first character cannot be converted to a number, it returns 'NaN' (not a number). |
|
Function |
parseInt(string[, radix]) |
parseInt parses its first argument, the string str, and attempts to return an integer of the specified radix (base), indicated by the second, optional argument, radix. For example, a radix of ten indicates to convert to a decimal number, eight octal, sixteen hexadecimal, and so on. For radixes above ten, the letters of the alphabet indicate numerals greater than nine. For example, for hexadecimal numbers (base 16), A through F are used. If parseInt encounters a character that is not a numeral in the specified radix, it ignores it and all succeeding characters and returns the integer value parsed up to that point. If the first character cannot be converted to a number in the specified radix, it returns 'NaN'. The parseInt function truncates numbers to integer values |
|
Function |
String(obj) |
Converts the specified object to a string |
|
Property |
Infinity |
Infinity is a global property (variable) with a constant value. If the result of a mathematical calculation would result in a number that is to big to be held in a Javascript numeric field then this value is assigned to the field instead |
|
Property |
NaN |
NaN is a global property (variable) with a constant value. NaN is an abbreviation for 'Not a Number'. |
|
Property |
undefined |
undefined is a global property (variable) with a constant value. Javascript treats undefined as being equal to null |
|
Function |
decodeURI() |
|
|
Function |
decodeURIComponent() |
|
|
Function |
encodeURI() |
Used to encode the full URI, not including any parameters added to it , for special characters |
|
Function |
encodeURIComponent() |
|
|