EchoEcho.Com Homepage
Web Hosting - As Reliable As It Gets!
   Home > References > JavaScript > Global Object


 Tutorials 
 D-Zine Articles 
 Online Tools 
 Free Resources 
 References 
 Quiz 
 Hosting 

















  JavaScript Objects :
GLOBAL OBJECT








Core ObjectNNIEECMA
 Global Intrinsic object that collect global methods into one object2+5.5+ECMA 1
 
MethodsNNIEECMA
 decodeURI() Decodes a Uniform Resource Identifier.4+5.5+ECMA 1
 decodeURIComponent() Decodes an encoded URI component.4+5.5+ECMA 1
 encodeURI() Encodes a text string as a Uniform Resource Identifier (URI)4+5.5+ECMA 1
 encodeURIComponent() Encodes a text string as a component of a URI.4+5.5+ECMA 1
 escape() Encodes Strings so they can be read on all computers.n/a3+n/a
 eval() Evaluates string and executes it as if it was script code.2+3+ECMA 1
 isFinite() Determines whether a value is a finite number.4+4+ECMA 1
 isNaN() Evaluates an argument to determine if it is not a number.2+3+ECMA 1
 parseFloat() Parses a string and returns a floating point number.2+3+ECMA 1
 parseInt() Parses a string and returns an integer.2+3+ECMA 1
 unescape() Decodes String objects encoded with the escape method.n/a3+n/a
 
PropertiesNNIEECMA
 Infinity Returns an initial value of Number.POSITIVE_INFINITY4+4+ECMA 1
 NaN Returns NaN indicating that an expression is not a number.4+4+ECMA 1
 undefined Returns value of undefined.4+5.5+ECMA 1





 Global Core object 
 Intrinsic object that collect global methods into one object
 
Syntax:

Syntax 1
  Global object has no syntax. Methods are called directly.

 
Browser support:
 Microsoft Internet Explorer: 5.5+
 Netscape Browser: 2+
 
Implementations:
 JavaScript 1.1 (by Netscape)
 JScript 5 (by Microsoft)
 ECMA Script 1 (ECMA Standard)
 
 
Example:

Example :

  No example available, since the Global object is never used directly,
  and cannot be created using the new operator.
  It is created when the scripting engine is initialized,
  thus making its methods and properties available immediately.



















DEVELOPER TIP!
FACT:
Internet Explorer let you customize the look of cursors on your pages.
TIP:
Our CSS Cursor Tutorial will teach you how extremely easy it is!





     "Better Than Books - As Easy As It Gets!"


On EchoEcho: D-Zine Articles | Tutorials | Online Tools | Free Resources | References | Quiz | HostingAbout EchoEcho