Mega Code Archive

 
Categories / JavaScript Tutorial / Global
 

Global

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