Skip to content

Commit

Permalink
Editorial: remove isLittleEndian parameter of GetModifySetValueInBuff…
Browse files Browse the repository at this point in the history
…er (tc39#3173)
  • Loading branch information
michaelficarra authored and ljharb committed Sep 19, 2023
1 parent 9abd594 commit 5309b9d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -42674,7 +42674,6 @@ <h1>
_type_: a TypedArray element type,
_value_: a Number or a BigInt,
_op_: a read-modify-write modification function,
optional _isLittleEndian_: a Boolean,
): a Number or a BigInt
</h1>
<dl class="header">
Expand All @@ -42685,7 +42684,7 @@ <h1>
1. Assert: _value_ is a BigInt if IsBigIntElementType(_type_) is *true*; otherwise, _value_ is a Number.
1. Let _block_ be _arrayBuffer_.[[ArrayBufferData]].
1. Let _elementSize_ be the Element Size value specified in <emu-xref href="#table-the-typedarray-constructors"></emu-xref> for Element Type _type_.
1. If _isLittleEndian_ is not present, set _isLittleEndian_ to the value of the [[LittleEndian]] field of the surrounding agent's Agent Record.
1. Let _isLittleEndian_ be the value of the [[LittleEndian]] field of the surrounding agent's Agent Record.
1. Let _rawBytes_ be NumericToRawBytes(_type_, _value_, _isLittleEndian_).
1. If IsSharedArrayBuffer(_arrayBuffer_) is *true*, then
1. Let _execution_ be the [[CandidateExecution]] field of the surrounding agent's Agent Record.
Expand Down

0 comments on commit 5309b9d

Please sign in to comment.