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