Skip to content

Latest commit

 

History

History
63 lines (60 loc) · 5.9 KB

File metadata and controls

63 lines (60 loc) · 5.9 KB
title ms.custom ms.date ms.prod ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
JavaScript Properties | Microsoft Docs
01/18/2017
windows-client-threshold
devlang-javascript
language-reference
JavaScript
TypeScript
DHTML
JavaScript, properties
bad3dd19-dbce-459f-b3ea-6b83cca8502b
17
mikejo5000
mikejo
ghogen

JavaScript Properties

The following table lists[!INCLUDEjavascript] properties.

Properties

Property Description [!INCLUDEjavascript] object
__proto__ Property Sets the prototype for an object. Object
0...n Properties Returns the value of individual arguments from an arguments object. arguments
$1...$9 Properties Returns the nine most-recently memorized portions found during pattern matching. RegExp
arguments Property Returns an array containing each argument passed to the currently executing function. Function
callee Property Returns the Function object being executed. arguments
caller Property Returns a reference to the function that invoked the current function. Function
constructor Property Specifies the function that creates an object. Multiple
description Property Returns or sets the descriptive string associated with a specific error. Error
global Property Returns a Boolean value indicating the state of the global flag (g) used with a regular expression. Regular Expression
ignoreCase Property Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression. Regular Expression
index Property Returns the character position where the first successful match begins in a searched string. RegExp
input Property Returns the string against which a search was performed. RegExp
lastIndex Property Returns the character position where the last successful match begins in a searched string. RegExp
lastMatch Property Returns the last matched characters from any regular expression search. RegExp
lastParen Property Returns the last parenthesized submatch from any regular expression search, if any. RegExp
leftContext Property Returns the characters from the beginning of a searched string up to the position before the beginning of the last match. RegExp
length Property (arguments) Returns the actual number of arguments passed to a function by the caller. arguments
length Property (Array) Returns an integer value one higher than the highest element defined in an array. Array
length Property (Function) Returns the number of arguments defined for a function. Function
length Property (String) Returns the length of a String object. String
message Property Returns an error message string. Error
multiline Property Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression. Regular Expression
name Property Returns the name of an error. Error
number Property Returns or sets the numeric value associated with a specific error. Error
prototype Property Returns a reference to the prototype for a class of objects. Multiple
rightContext Property Returns the characters from the position following the last match to the end of the searched string. RegExp
source Property Returns a copy of the text of the regular expression pattern. Regular Expression

See Also

JavaScript Objects
JavaScript Constants
JavaScript Methods
JavaScript Functions