Javascript Reference
Categories: Global

javascript Global Description

@March 15, 2008, 1:22 a.m.
GlobalFirefox/Netscape/NN 2 IE 3 ECMA 1  

  

The Global object lives in every window or frame of a JavaScript-enabled browser (it is created for you automatically). You don't ever reference the object explicitly, but you do reference its properties and methods to accomplish tasks such as converting strings to numbers (via the parseInt( ) or parseFloat( ) methods). Properties act as constants, and thus evaluate to themselves. As an object with global scope, it exposes its members to script statements throughout the page.

 
Properties
 
InfinityNaNundefined
 
Methods
 
atob( )btoa( )decodeURI( )
decodeURIComponent( )encodeURI( )encodeURIComponent( )
escape( )eval( )GetObject( )
isFinite( )isNaN( )parseInt( )
parseFloat( )ScriptEngine( )ScriptEngineBuildVersion( )
ScriptEngineMajorVersion( )ScriptEngineMinorVersion( )unescape( )
unwatch( )watch( )

Powered by Linode.