Share via


Properties (JScript) 

A property is a value or set of values (in the form of an array or object) that is a member of an object. The following sections link to information that explains how to use the properties in JScript.

In This Section

  • 0...n Properties
    Returns the actual value of individual arguments from an arguments object returned by the arguments property of an executing function.
  • $1...$9 Properties
    Returns the nine most-recently memorized portions found during pattern matching.
  • arguments Property
    Returns the arguments object for the currently executing Function object.caller Property
  • callee Property
    Returns the Function object being executed that is the body text of the specified Function object.
  • caller Property
    Returns a reference to the function that invoked the current function.
  • E Property
    Returns the mathematical constant e, the base of natural logarithms.
  • global Property
    Returns a Boolean value indicating the state of the global flag (g) used with a regular expression.
  • ignoreCase Property
    Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression.
  • index Property
    Returns the character position where the first successful match begins in a searched string.
  • input Property ($_)
    Returns the string against which a regular expression search was performed.
  • lastIndex Property
    Returns the character position where the next match begins in a searched string.
  • leftContext Property ($`)
    Returns the characters from the beginning of a searched string up to the position before the beginning of the last match.
  • LOG10E Property
    Returns the base-10 logarithm of e, the base of natural logarithms.
  • LOG2E Property
    Returns the base-2 logarithm of e, the base of natural logarithms.
  • MAX_VALUE Property
    Returns the largest number representable in JScript. Equal to approximately 1.79E+308.
  • MIN_VALUE Property
    Returns the number closest to zero that JScript can represent. Equal to approximately 5.00E-324.
  • multiline Property
    Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression.
  • NaN Property
    A special value that indicates that an arithmetic expression returned a value that was not a number.
  • NEGATIVE_INFINITY Property
    Returns a value more negative than the largest negative number (-Number.MAX_VALUE) that JScript can represent.
  • number Property
    Returns a value more negative than the largest negative number (-Number.MAX_VALUE) that JScript can represent.
  • PI Property
    Returns the ratio of the circumference of a circle to its diameter, approximately 3.141592653589793.
  • source Property
    Returns a copy of the text of the regular expression pattern.
  • SQRT1_2 Property
    Returns he square root of 0.5, or one divided by the square root of 2.
  • JScript Reference
    Lists elements that comprise JScript Language Reference and links to topics that explain the details behind the proper use of language elements.
  • .NET Framework Reference
    Lists links to topics that explain the syntax and structure of the .NET Framework class library and other essential elements.