Skip to content

Commit

Permalink
Normative: Remove detach check in TypedArray.prototype.sort comparator (
Browse files Browse the repository at this point in the history
  • Loading branch information
syg authored and ljharb committed Apr 6, 2022
1 parent 6d32a32 commit e0c74e1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -39228,7 +39228,6 @@ <h1>%TypedArray%.prototype.sort ( _comparefn_ )</h1>
1. Assert: Both Type(_x_) and Type(_y_) are Number or both are BigInt.
1. If _comparefn_ is not *undefined*, then
1. Let _v_ be ? ToNumber(? Call(_comparefn_, *undefined*, &laquo; _x_, _y_ &raquo;)).
1. If IsDetachedBuffer(_buffer_) is *true*, throw a *TypeError* exception.
1. If _v_ is *NaN*, return *+0*<sub>𝔽</sub>.
1. Return _v_.
1. If _x_ and _y_ are both *NaN*, return *+0*<sub>𝔽</sub>.
Expand Down

0 comments on commit e0c74e1

Please sign in to comment.