From 5a1df73e081609e399c6859bc4e1fd2bfeabe650 Mon Sep 17 00:00:00 2001 From: Ashley Claymore Date: Sat, 25 Feb 2023 20:21:00 +0000 Subject: [PATCH] fixup: rewrite to avoid use-before-define --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index 0a0ef669a20..4506851687b 100644 --- a/spec.html +++ b/spec.html @@ -38202,7 +38202,7 @@

Array.prototype.sort ( _comparefn_ )

1. Repeat, while _j_ < _itemCount_, 1. Perform ? Set(_obj_, ! ToString(𝔽(_j_)), _sortedList_[_j_], *true*). 1. Set _j_ to _j_ + 1. - 1. NOTE: The call to SortIndexedProperties in step 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 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_ < _len_, 1. Perform ? DeletePropertyOrThrow(_obj_, ! ToString(𝔽(_j_))). 1. Set _j_ to _j_ + 1.