Global : Introduction « Global « JavaScript Tutorial






The Global object is a core object in the JavaScript language.

Properties and Functions of the Global Object

Property/FunctionsDescription
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
InfinityKeyword 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
NaNRepresents 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


8.1.Introduction
8.1.1.Global