JavaScript Tutorial/Global/Introduction — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 08:24, 26 мая 2010
Global
The Global object is a core object in the JavaScript language.
Properties and Functions of the Global Object
Property/Functions Description escape() Returns a string object in which all non-alphanumeric characters are converted to their numeric equivalent eval() Accepts a string of JavaScript statements and evaluates it as JavaScript source code Infinity Keyword that represents positive infinity isFinite() Method used to determine if a variable has finite bounds isNaN() Method used to determine whether a variable is a valid number or not NaN Represents an object not equal to any number parseFloat() Method used to convert a string to a number of type float parseInt() Method used to convert a string to an integer unescape () Method that takes a hexadecimal value and returns the ISO-Latin-1 ASCII equivalent