这篇翻译不完整。请帮忙从英语翻译这篇文章。
这篇文章按照字母顺序列出了MDN里边所有的JavaScript属性。
Found 96 pages with the tag "Property":
A
-
arguments
: Thefunction.arguments
property refers to an an array-like object corresponding to the arguments passed to a function. Use the simple variablearguments
instead. -
arity
: Thearity
property used to return the number of arguments expected by the function, however, it no longer exists and has been replaced by theFunction.prototype.length
property.
B
-
BYTES_PER_ELEMENT
: TheTypedArray.BYTES_PER_ELEMENT
property represents the size in bytes of each element in an typed array. -
buffer
: Thebuffer
accessor property represents theArrayBuffer
referenced by theDataView
at construction time. -
buffer
: Thebuffer
accessor property represents theArrayBuffer
referenced by a TypedArray at construction time. -
byteLength
: ThebyteLength
accessor property represents the length of anArrayBuffer
in bytes. -
byteLength
: ThebyteLength
accessor property represents the length (in bytes) of this view from the start of itsArrayBuffer
. -
byteLength
: ThebyteLength
accessor property represents the length (in bytes) of a typed array from the start of itsArrayBuffer
. -
byteOffset
: ThebyteOffset
accessor property represents the offset (in bytes) of this view from the start of itsArrayBuffer
. -
byteOffset
: ThebyteOffset
accessor property represents the offset (in bytes) of a typed array from the start of itsArrayBuffer
.
C
-
callee
: Thearguments.callee
property contains the currently executing function. -
caller
: The obsoletearguments.caller
property used to provide the function that invoked the currently executing function. This property has been removed and no longer works. -
caller
: Thefunction.caller
property returns the function that invoked the specified function. -
columnNumber
: ThecolumnNumber
property contains the column number in the line of the file that raised this error. -
compare
: TheIntl.Collator.prototype.compare
property returns a getter function that compares two strings according to the sort order of thisCollator
object. -
constructor
: Returns a reference to theObject
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 as1
,true
and"test"
.
D
-
displayName
: Thefunction.displayName
property returns the display name of the function.
E
-
E
: TheMath.E
property represents the base of natural logarithms, e, approximately 2.718. -
EPSILON
: TheNumber.EPSILON
property represents the difference between one and the smallest value greater than one that can be represented as aNumber
.
F
-
fileName
: ThefileName
property contains the path to the file that raised this error. -
flags
: Theflags
property returns a string consisting of the flags of the current regular expression object. -
format
: TheIntl.DateTimeFormat.prototype.format
property returns a getter function that formats a date according to the locale and formatting options of thisDateTimeFormat
object. -
format
: TheIntl.NumberFormat.prototype.format
property returns a getter function that formats a number according to the locale and formatting options of thisNumberFormat
object.
G
-
global
: Theglobal
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
: TheignoreCase
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-standardinput
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.
J
K
L
-
LN10
: TheMath.LN10
property represents the natural logarithm of 10, approximately 2.302: -
LN2
: TheMath.LN2
property represents the natural logarithm of 2, approximately 0.693: -
LOG10E
: TheMath.LOG10E
property represents the base 10 logarithm of e, approximately 0.434: -
LOG2E
: TheMath.LOG2E
property represents the base 2 logarithm of e, approximately 1.442: -
lastIndex
: ThelastIndex
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
: Thearguments.length
property contains the number of arguments passed to the function. -
length
: Thelength
property represents the length of a string. -
length
: Thelength
property specifies the number of arguments expected by the function. -
length
: Thelength
property represents an unsigned, 32-bit integer that specifies the number of elements in an array. -
length
: Thelength
accessor property represents the length (in elements) of a typed array. -
lineNumber
: ThelineNumber
property contains the line number in the file that raised this error.
M
-
MAX_SAFE_INTEGER
: TheNumber.MAX_SAFE_INTEGER
constant represents the maximum safe integer in JavaScript (253 - 1
). -
MAX_VALUE
: TheNumber.MAX_VALUE
property represents the maximum numeric value representable in JavaScript. -
MIN_SAFE_INTEGER
: TheNumber.MIN_SAFE_INTEGER
constant represents the minimum safe integer in JavaScript (-(253 - 1)
). -
MIN_VALUE
: TheNumber.MIN_VALUE
property represents the smallest positive numeric value representable in JavaScript. -
message
: Themessage
property is a human-readable description of the error. -
multiline
: Themultiline
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
: TheNumber.NEGATIVE_INFINITY
property represents the negative Infinity value. -
NaN
: TheNumber.NaN
property represents Not-A-Number. Equivalent ofNaN
. -
name
: Thename
property represents a name for the type of error. The initial value is "Error". -
name
: Thefunction.name
property returns the name of the function. -
name
: TheTypedArray.name
property represents a string value of the typed array constructor name.
O
P
-
PI
: TheMath.PI
property represents the ratio of the circumference of a circle to its diameter, approximately 3.14159: -
POSITIVE_INFINITY
: TheNumber.POSITIVE_INFINITY
property represents the positive Infinity value. -
prototype
: TheBoolean.prototype
property represents the prototype for theBoolean
constructor. -
prototype
: TheDataView
.prototype
property represents the prototype for theDataView
object. -
prototype
: TheDate.prototype
property represents the prototype for theDate
constructor. -
prototype
: TheError.prototype
property represents the prototype for theError
constructor. -
prototype
: TheEvalError.prototype
property represents the prototype of theEvalError
constructor. -
prototype
: TheFunction.prototype
property represents theFunction
prototype object. -
prototype
: TheGeneratorFunction.prototype
property represents theGeneratorFunction
prototype object. -
prototype
: TheInternalError.prototype
property represents the prototype of theInternalError
constructor. -
prototype
: TheIntl.Collator.prototype
property represents the prototype object for theIntl.Collator
constructor. -
prototype
: TheIntl.DateTimeFormat.prototype
property represents the prototype object for theIntl.DateTimeFormat
constructor. -
prototype
: TheIntl.NumberFormat.prototype
property represents the prototype object for theIntl.NumberFormat
constructor. -
prototype
: TheMap
.prototype
property represents the prototype for theMap
constructor. -
prototype
: TheArray.prototype
property represents the prototype for theArray
constructor. -
prototype
: TheArrayBuffer.prototype
property represents the prototype for theArrayBuffer
object. -
prototype
: TheNumber.prototype
property represents the prototype for theNumber
constructor. -
prototype
: TheObject.prototype
property represents theObject
prototype object. -
prototype
: ThePromise
.prototype
property represents the prototype for thePromise
constructor. -
prototype
: TheRangeError.prototype
property represents the prototype theRangeError
constructor. -
prototype
: TheReferenceError.prototype
property represents the prototype for theReferenceError
constructor. -
prototype
: TheRegExp.prototype
property represents the prototype object for theRegExp
constructor. -
prototype
: TheSet
.prototype
property represents the prototype for theSet
constructor. -
prototype
: TheString.prototype
property represents theString
prototype object. -
prototype
: TheSymbol
.prototype
property represents the prototype for theSymbol
constructor. -
prototype
: TheSyntaxError.prototype
property represents the prototype for theSyntaxError
constructor. -
prototype
: TheTypeError.prototype
property represents the prototype for theTypeError
constructor. -
prototype
: TheTypedArray
.prototype
property represents the prototype forTypedArray
constructors. -
prototype
: TheURIError.prototype
property represents the prototype for theURIError
constructor. -
prototype
: TheWeakMap
.prototype
property represents the prototype for theWeakMap
constructor. -
prototype
: TheWeakSet
.prototype
property represents the prototype for theWeakSet
constructor.
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
: TheMath.SQRT1_2
property represents the square root of 1/2 which is approximately 0.707: -
SQRT2
: TheMath.SQRT2
property represents the square root of 2, approximately 1.414: -
size
: Thesize
accessor property returns the number of elements in aMap
object. -
size
: Thesize
accessor property returns the number of elements in aSet
object. -
source
: Thesource
property returns aString
containing the source text of the regexp object, and it doesn't contain the two forward slashes on both sides and any flags. -
stack
: The non-standardstack
property ofError
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
: Thesticky
property reflects whether or not the search is sticky (searches in strings only from the index indicated by thelastIndex
property of this regular expression).sticky
is a read-only property of an individual regular expression object.
T
U
-
unicode
: Theunicode
property indicates whether or not the "u
" flag is used with the 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 references a function to be executed when a non-existent method is called on an object. -
__parent__
: The__parent__
property used to point to an object's context, but it has been removed. -
__proto__
: The__proto__
property ofObject.prototype
is an accessor property (a getter function and a setter function) that exposes the internal[[Prototype]]
(either an object ornull
) 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.