Closed gibson042 closed 3 weeks ago
...allowing such TypedArrays to be frozen.
The [[GetOwnProperty]] internal method of a TypedArray O takes argument P (a property key) and returns a normal completion containing either a Property Descriptor or undefined. It performs the following steps when called:
The [[DefineOwnProperty]] internal method of a TypedArray O takes arguments P (a property key) and Desc (a Property Descriptor) and returns either a normal completion containing a Boolean or a throw completion. It performs the following steps when called:
The [[Set]] internal method of a TypedArray O takes arguments P (a property key), V (an ECMAScript language value), and Receiver (an ECMAScript language value) and returns either a normal completion containing a Boolean or a throw completion. It performs the following steps when called:
Read the render, thanks. Lgtm
...allowing such TypedArrays to be frozen.
GFM rendering of this PR's diff from upstream ECMA-262:
removals, additions10.4.5 TypedArray Exotic Objects
10.4.5.1 [[GetOwnProperty]] ( P )
The [[GetOwnProperty]] internal method of aTypedArray O takes argument P (a property key ) and returns a normal completion containing either a Property Descriptor or undefined . It performs the following steps when called:
true mutable, [[Enumerable]]:true mutable }.10.4.5.3 [[DefineOwnProperty]] ( P, Desc )
The [[DefineOwnProperty]] internal method of aTypedArray O takes arguments P (a property key ) and Desc (a Property Descriptor ) and returns either a normal completion containing a Boolean or a throw completion . It performs the following steps when called:
false not mutable, returnfalse not mutable, return10.4.5.5 [[Set]] ( P, V, Receiver )
The [[Set]] internal method of aTypedArray O takes arguments P (a property key ), V (an ECMAScript language value ), and Receiver (an ECMAScript language value ) and returns either a normal completion containing a Boolean or a throw completion . It performs the following steps when called: