JScript Properties (Windows Scripting - JScript)

 

The following table lists JScript properties.

Note

These topics include information about JScript 5.8 and earlier. For current JavaScript language features, see JavaScript for Internet Explorer.

Properties

Description

Language Element

Returns the value of individual arguments from an arguments object.

0...n Properties

Returns the nine most-recently memorized portions found during pattern matching.

$1...$9 Properties

Returns an array containing each argument passed to the currently executing function.

arguments Property

Returns the Function object being executed.

callee Property

Returns a reference to the function that invoked the current function.

caller Property

Specifies the function that creates an object.

constructor Property

Returns or sets the descriptive string associated with a specific error.

description Property

Returns Euler's number, the base of natural logarithms.

E Property

Returns a Boolean value indicating the state of the global flag (g) used with a regular expression.

global Property

Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression.

ignoreCase Property

Returns the character position where the first successful match begins in a searched string.

index Property

Returns an initial value of Number.POSITIVE_INFINITY.

Infinity Property

Returns the string against which a search was performed.

input Property

Returns the character position where the last successful match begins in a searched string.

lastIndex Property

Returns the last matched characters from any regular expression search.

lastMatch Property

Returns the last parenthesized submatch from any regular expression search, if any.

lastParen Property

Returns the characters from the beginning of a searched string up to the position before the beginning of the last match.

leftContext Property

Returns the actual number of arguments passed to a function by the caller.

length Property (arguments)

Returns an integer value one higher than the highest element defined in an array.

length Property (Array)

Returns the number of arguments defined for a function.

length Property (Function)

Returns the length of a String object.

length Property (String)

Returns the natural logarithm of 2.

LN2 Property

Returns the natural logarithm of 10.

LN10 Property

Returns the base-2 logarithm of e, Euler's number.

LOG2E Property

Returns the base-10 logarithm of e, Euler's number.

LOG10E Property

Returns the largest number that can be represented in JScript.

MAX_VALUE Property

Returns an error message string.

message Property

Returns the number closest to zero that can be represented in JScript.

MIN_VALUE Property

Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression.

multiline Property

Returns the name of an error.

name Property

Returns the special value NaN indicating that an expression is not a number.

NaN Property (Global)

Returns the special value (NaN) indicating that an expression is not a number.

NaN Property (Number)

Returns a value more negative than the largest negative number (-Number.MAX_VALUE) that can be represented in JScript.

NEGATIVE_INFINITY Property

Returns or sets the numeric value associated with a specific error.

number Property

Returns the ratio of the circumference of a circle to its diameter, approximately 3.141592653589793.

PI Property

Returns a value larger than the largest number (Number.MAX_VALUE) that can be represented in JScript.

POSITIVE_INFINITY Property

Returns a Boolean value indicating whether a specified property is part of an object and if it is enumerable.

propertyIsEnumerable Property

Returns a reference to the prototype for a class of objects.

prototype Property

Returns the characters from the position following the last match to the end of the searched string.

rightContext Property

Returns a copy of the text of the regular expression pattern.

source Property

Returns the square root of 0.5, or one divided by the square root of 2.

SQRT1_2 Property

Returns the square root of 2.

SQRT2 Property

Returns an initial value of undefined.

undefined Property

See Also

JScript Methods (Windows Scripting - JScript)