Skip to content

Commit 2c58480

Browse files
authored
Editorial: Replace open TODO with an explanatory note (tc39#34)
Ref tc39#31
1 parent 3b24900 commit 2c58480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.emu

+1-1
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ contributors: Mark S. Miller, Richard Gibson
657657
1. Let _first_ be _bounds_.[[From]].
658658
1. Let _final_ be _bounds_.[[To]].
659659
1. Let _newLen_ be _final_ - _first_.
660-
1. TODO: Confirm this strictness vs. `slice` (rejecting negative _newLen_ rather than clamping to 0).
660+
1. NOTE: This differs from <emu-xref href="#sec-arraybuffer.prototype.slice" title></emu-xref>, which instead clamps _newLen_ to be non-negative.
661661
1. If _newLen_ &lt; 0, throw a *RangeError* exception.
662662
1. NOTE: Side-effects of the above steps may have detached or resized _O_.
663663
1. If IsDetachedBuffer(_O_) is *true*, throw a *TypeError* exception.

0 commit comments

Comments
 (0)