Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript Global Object

The Global object is an intrinsic object whose purpose is to collect global methods into one object.

Methods: JScript Global Object

JScript Global Object escape Method

Encodes String objects so that they can be read on all computers.

JScript Global Object eval Method

Evaluates JScript code.

JScript Global Object isFinite Method

Determines if a supplied number is finite.

JScript Global Object isNaN Method

Determines is a supplied number is the reserved value NaN (Not a Number).

JScript Global Object parseFloat Method

Converts strings to floating point numbers.

JScript Global Object parseInt Method

Converts strings to integer numbers.

JScript Global Object unescape Method

Decodes String objects encoded with the escape method.

Properties: JScript Global Object

JScript Global Object Infinity Property

An initial value of Number.POSITIVE_INFINITY.

JScript Global Object NaN Property

An initial value of Number.NaN.

Syntax: JScript Global Object

The Global object has no syntax. You call its methods directly.

Remarks: JScript Global Object

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.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.