JavaScript Tutorial/Global/Introduction

Материал из Web эксперт
Версия от 08:24, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

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