Share via


Methods (A-E)

A method is a function that is a member of an object. Following are methods whose names begin with letters a through e.

In This Section

  • abs Method
    Returns the absolute value of a number.

  • acos Method
    Returns the arccosine of a number.

  • anchor Method
    Places an HTML anchor with a NAME attribute around specified text in the object.

  • apply Method
    Returns a method of an object, substituting another object for the current object.

  • asin Method
    Returns the arcsine of a number.

  • atan Method
    Returns the arctangent of a number.

  • atan2 Method
    Returns the angle (in radians) from the X-axis to a point (x,y).

  • atEnd Method
    Returns a Boolean value indicating if the enumerator is at the end of the collection.

  • big Method
    Places HTML <BIG> tags around text in a String object.

  • blink Method
    Places HTML <BLINK> tags around text in a String object.

  • bold Method
    Places HTML <B> tags around text in a String object.

  • call Method
    Calls a method of an object, substituting another object for the current object.

  • ceil Method
    Returns the smallest integer greater than or equal to its numeric argument.

  • charAt Method
    Returns the character at the specified index.

  • charCodeAt Method
    Returns the Unicode encoding of the specified character.

  • compile Method
    Compiles a regular expression into an internal format.

  • concat Method (Array)
    Returns a new array consisting of a combination of two arrays.

  • concat Method (String)
    Returns a String object containing the concatenation of two supplied strings.

  • cos Method
    Returns the cosine of a number.

  • decodeURI Method
    Returns the unencoded version of an encoded Uniform Resource Identifier (URI).

  • decodeURIComponent Method
    Returns the unencoded version of an encoded component of a Uniform Resource Identifier (URI).

  • dimensions Method
    Returns the number of dimensions in a VBArray.

  • encodeURI Method
    Encodes a text string as a valid Uniform Resource Identifier (URI).

  • encodeURIComponent Method
    Encodes a text string as a valid component of a Uniform Resource Identifier (URI).

  • escape Method
    Encodes String objects so they can be read on all computers.

  • eval Method
    Evaluates JScript code and executes it.

  • exec Method
    Executes a search for a match in a specified string.

  • exp Method
    Returns e (the base of natural logarithms) raised to a power.

  • JScript Reference
    Lists elements that comprise JScript Language Reference and links to topics that explain the details behind the proper use of language elements.

  • Methods
    Lists the methods, classified alphabetically, available in JScript, and links to each category of methods.

  • Objects
    Explains the concept of objects in JScript, how objects are related to properties and methods, and links to topics that provide more detail about the objects that JScript supports.