JavaScript properties index


This article entails a listing of all JavaScript properties documented on MDN sorted alphabetically.

Found 106 pages with the tag "Property":

A

  • arguments: The function.arguments property refers to an an array-like object corresponding to the arguments passed to a function. Use the simple variable arguments instead.
  • arguments[@@iterator]: The initial value of the @@iterator property is the same function object as the initial value of the Array.prototype.values property.
  • arity: The arity property used to return the number of arguments expected by the function, however, it no longer exists and has been replaced by the Function.prototype.length property.

B

  • BYTES_PER_ELEMENT: The TypedArray.BYTES_PER_ELEMENT property represents the size in bytes of each element in an typed array.
  • buffer: The buffer accessor property represents the ArrayBuffer referenced by the DataView at construction time.
  • buffer: The buffer accessor property represents the ArrayBuffer referenced by a TypedArray at construction time.
  • byteLength: The byteLength accessor property represents the length of an ArrayBuffer in bytes.
  • byteLength: The byteLength accessor property represents the length (in bytes) of this view from the start of its ArrayBuffer.
  • byteLength: The byteLength accessor property represents the length of an SharedArrayBuffer in bytes.
  • byteLength: The byteLength accessor property represents the length (in bytes) of a typed array from the start of its ArrayBuffer.
  • byteOffset: The byteOffset accessor property represents the offset (in bytes) of this view from the start of its ArrayBuffer.
  • byteOffset: The byteOffset accessor property represents the offset (in bytes) of a typed array from the start of its ArrayBuffer.

C

  • callee: The arguments.callee property contains the currently executing function.
  • caller: The obsolete arguments.caller property used to provide the function that invoked the currently executing function. This property has been removed and no longer works.
  • caller: The function.caller property returns the function that invoked the specified function.
  • columnNumber: The columnNumber property contains the column number in the line of the file that raised this error.
  • compare: The Intl.Collator.prototype.compare property returns a getter function that compares two strings according to the sort order of this Collator object.
  • constructor: Returns a reference to the Object function that created the instance's prototype. Note that the value of this property is a reference to the function itself, not a string containing the function's name. The value is only read-only for primitive values such as 1true and "test".

D

  • displayName: The function.displayName property returns the display name of the function.

E

  • E: The Math.E property represents the base of natural logarithms, e, approximately 2.718.
  • EPSILON: The Number.EPSILON property represents the difference between one and the smallest value greater than one that can be represented as a Number.

F

  • fileName: The fileName property contains the path to the file that raised this error.
  • flags: The flags property returns a string consisting of the flags of the current regular expression object.
  • format: The Intl.DateTimeFormat.prototype.format property returns a getter function that formats a date according to the locale and formatting options of this Intl.DateTimeFormat object.
  • format: The Intl.NumberFormat.prototype.format property returns a getter function that formats a number according to the locale and formatting options of this NumberFormat object.

G

  • get Map[@@species]: The Map[@@species] accessor property returns the Map constructor.
  • get Set[@@species]: The Set[@@species] accessor property returns the Set constructor.
  • global: The global property indicates whether or not the "g" flag is used with the regular expression. global is a read-only property of an individual regular expression instance.

H

I

  • ignoreCase: The ignoreCase property indicates whether or not the "i" flag is used with the regular expression. ignoreCase is a read-only property of an individual regular expression instance.
  • input ($_): The non-standard input property is a static property of regular expressions that contains the string against which a regular expression is matched. RegExp.$_ is an alias for this property.
  • iterator: The Symbol.iterator well-known symbol specifies the default iterator for an object. Used by for...of.

J

K

L

  • LN10: The Math.LN10 property represents the natural logarithm of 10, approximately 2.302:
  • LN2: The Math.LN2 property represents the natural logarithm of 2, approximately 0.693:
  • LOG10E: The Math.LOG10E property represents the base 10 logarithm of e, approximately 0.434:
  • LOG2E: The Math.LOG2E property represents the base 2 logarithm of e, approximately 1.442:
  • lastIndex: The lastIndex is a read/write integer property of regular expressions that specifies the index at which to start the next match.
  • lastMatch ($&): The non-standard lastMatch property is a static and read-only property of regular expressions that contains the last matched characters. RegExp.$& is an alias for this property.
  • lastParen ($+): The non-standard lastParen property is a static and read-only property of regular expressions that contains the last parenthesized substring match, if any. RegExp.$+ is an alias for this property.
  • leftContext ($`): The non-standard leftContext property is a static and read-only property of regular expressions that contains the substring preceding the most recent match. RegExp.$` is an alias for this property.
  • length: The arguments.length property contains the number of arguments passed to the function.
  • length: The length property represents the length of a string.
  • length: The length property specifies the number of arguments expected by the function.
  • length: The length property represents an unsigned, 32-bit integer that is always numerically greater than the highest index in the array.
  • length: The length accessor property represents the length (in elements) of a typed array.
  • lineNumber: The lineNumber property contains the line number in the file that raised this error.

M

  • MAX_SAFE_INTEGER: The Number.MAX_SAFE_INTEGER constant represents the maximum safe integer in JavaScript (253 - 1).
  • MAX_VALUE: The Number.MAX_VALUE property represents the maximum numeric value representable in JavaScript.
  • MIN_SAFE_INTEGER: The Number.MIN_SAFE_INTEGER constant represents the minimum safe integer in JavaScript (-(253 - 1)).
  • MIN_VALUE: The Number.MIN_VALUE property represents the smallest positive numeric value representable in JavaScript.
  • match: The Symbol.match well-known symbol specifies the matching of a regular expression against a string. This function is called by the String.prototype.match() method.
  • message: The message property is a human-readable description of the error.
  • multiline: The multiline property indicates whether or not the "m" flag is used with the regular expression. multiline is a read-only property of an individual regular expression instance.

N

  • NEGATIVE_INFINITY: The Number.NEGATIVE_INFINITY property represents the negative Infinity value.
  • NaN: The Number.NaN property represents Not-A-Number. Equivalent of NaN.
  • name: The name property represents a name for the type of error. The initial value is "Error".
  • name: The function.name property returns the name of the function.
  • name: The TypedArray.name property represents a string value of the typed array constructor name.

O

P

  • PI: The Math.PI property represents the ratio of the circumference of a circle to its diameter, approximately 3.14159:
  • POSITIVE_INFINITY: The Number.POSITIVE_INFINITY property represents the positive Infinity value.
  • prototype: The Boolean.prototype property represents the prototype for the Boolean constructor.
  • prototype: The DataView.prototype property represents the prototype for the DataView object.
  • prototype: The Date.prototype property represents the prototype for the Date constructor.
  • prototype: The Error.prototype property represents the prototype for the Error constructor.
  • prototype: The EvalError.prototype property represents the prototype of the EvalError constructor.
  • prototype: The Function.prototype property represents the Function prototype object.
  • prototype: The GeneratorFunction.prototype property represents the GeneratorFunction prototype object.
  • prototype: The InternalError.prototype property represents the prototype of the InternalError constructor.
  • prototype: The Intl.Collator.prototype property represents the prototype object for the Intl.Collator constructor.
  • prototype: The Intl.DateTimeFormat.prototype property represents the prototype object for the Intl.DateTimeFormat constructor.
  • prototype: The Intl.NumberFormat.prototype property represents the prototype object for the Intl.NumberFormat constructor.
  • prototype: Technical review completed.
  • prototype: The WeakMap.prototype property represents the prototype for the WeakMap constructor.
  • prototype: The Array.prototype property represents the prototype for the Array constructor.
  • prototype: The ArrayBuffer.prototype property represents the prototype for the ArrayBuffer object.
  • prototype: The Number.prototype property represents the prototype for the Number constructor.
  • prototype: The Object.prototype property represents the Object prototype object.
  • prototype: The Promise.prototype property represents the prototype for the Promise constructor.
  • prototype: The RangeError.prototype property represents the prototype the RangeError constructor.
  • prototype: The ReferenceError.prototype property represents the prototype for the ReferenceError constructor.
  • prototype: The RegExp.prototype property represents the prototype object for the RegExp constructor.
  • prototype: The Set.prototype property represents the prototype for the Set constructor.
  • prototype: The SharedArrayBuffer.prototype property represents the prototype for the SharedArrayBuffer object.
  • prototype: The String.prototype property represents the String prototype object.
  • prototype: The Symbol.prototype property represents the prototype for the Symbol constructor.
  • prototype: The SyntaxError.prototype property represents the prototype for the SyntaxError constructor.
  • prototype: The TypeError.prototype property represents the prototype for the TypeError constructor.
  • prototype: The TypedArray.prototype property represents the prototype for TypedArray constructors.
  • prototype: The URIError.prototype property represents the prototype for the URIError constructor.
  • prototype: The WeakSet.prototype property represents the prototype for the WeakSet constructor.
  • prototype[@@toStringTag]: The Map[@@toStringTag] property has an initial value of "Map".

Q

R

  • rightContext ($'): The non-standard rightContext property is a static and read-only property of regular expressions that contains the substring following the most recent match. RegExp.$' is an alias for this property.

S

  • SQRT1_2: The Math.SQRT1_2 property represents the square root of 1/2 which is approximately 0.707:
  • SQRT2: The Math.SQRT2 property represents the square root of 2, approximately 1.414:
  • size: The size accessor property returns the number of elements in a Map object.
  • size: The size accessor property returns the number of elements in a Set object.
  • source: The source property returns a String containing the source text of the regexp object, and it doesn't contain the two forward slashes on both sides and any flags.
  • species: The Symbol.species well-known symbol specifies a function valued property that is the constructor function that is used to create derived objects.
  • stack: The non-standard stack property of Error objects offer a trace of which functions were called, in what order, from which line and file, and with what arguments. The stack string proceeds from the most recent calls to earlier ones, leading back to the original global scope call.
  • sticky: The sticky property reflects whether or not the search is sticky (searches in strings only from the index indicated by the lastIndex property of this regular expression). sticky is a read-only property of an individual regular expression object.

T

  • toPrimitive: The Symbol.toPrimitive well-known symbol specifies a function valued property that is called to convert an object to a corresponding primitive value.

U

  • unicode: The unicode property indicates whether or not the "u" flag is used with a regular expression. unicode is a read-only property of an individual regular expression instance.

V

W

X

Y

Z

_

  • __count__: The __count__ property used to store the count of enumerable properties on the object, but it has been removed.
  • __noSuchMethod__: The __noSuchMethod__ property used to reference a function to be executed when a non-existent method is called on an object, but this function is no longer available.
  • __parent__: The __parent__ property used to point to an object's context, but it has been removed.
  • __proto__: The __proto__ property of Object.prototype is an accessor property (a getter function and a setter function) that exposes the internal [[Prototype]] (either an object or null) of the object through which it is accessed.

$

  • $1-$9: The non-standard $1, $2, $3, $4, $5, $6, $7, $8, $9 properties are static and read-only properties of regular expressions that contain parenthesized substring matches.

See also

Document Tags and Contributors

Tags: 
 Last updated by: fscholz,