Well-known symbols are built-in Symbol values that are explicitly referenced by algorithms of this specification. They are typically used as the keys of properties whose values serve as extension points of a specification algorithm. Unless otherwise specified, well-known symbols values are shared by all realms (
Within this specification a well-known symbol is referred to by using a notation of the form @@name, where “name” is one of the values listed in
Specification Name | [[Description]] | Value and Purpose |
---|---|---|
@@slice |
|
A method that slices the receiver based on a start and end index. |
The initial value of Symbol.slice
is the well known symbol
This property has the attributes { [[Writable]]:
The initial value of the Array.prototype.slice
property.
The initial value of the %TypedArray%.prototype.slice
property.
The initial value of the ArrayBuffer.prototype.slice
property.
The initial value of the SharedArrayBuffer.prototype.slice
property.
The abstract operation EvaluateSliceNotation takes as arguments a baseValue (an ECMAScript langauge value), startExpression (a
With parameters baseValue and baseReference.