Skip to content

Commit

Permalink
fixup: rewrite to avoid use-before-define
Browse files Browse the repository at this point in the history
  • Loading branch information
acutmore committed Feb 25, 2023
1 parent b955257 commit 5a1df73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -38202,7 +38202,7 @@ <h1>Array.prototype.sort ( _comparefn_ )</h1>
1. Repeat, while _j_ &lt; _itemCount_,
1. Perform ? Set(_obj_, ! ToString(𝔽(_j_)), _sortedList_[_j_], *true*).
1. Set _j_ to _j_ + 1.
1. NOTE: The call to SortIndexedProperties in step <emu-xref href="#step-array-sortindexedproperties"></emu-xref> has the _holes_ parameter set to ~skip-holes~. The remaining indices are deleted to preserve the number of holes that were detected and excluded from the sort.
1. NOTE: The call to SortIndexedProperties in step <emu-xref href="#step-array-sortindexedproperties"></emu-xref> uses ~skip-holes~. The remaining indices are deleted to preserve the number of holes that were detected and excluded from the sort.
1. Repeat, while _j_ &lt; _len_,
1. Perform ? DeletePropertyOrThrow(_obj_, ! ToString(𝔽(_j_))).
1. Set _j_ to _j_ + 1.
Expand Down

0 comments on commit 5a1df73

Please sign in to comment.