From 32fe1a621c485080f6e1a1c0cc13a772b3f601bd Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Thu, 28 May 2020 15:45:10 -0700 Subject: [PATCH] Editorial: fix inconsistent phrase "the empty String value" (#2017) --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index c60863d875..8c7ab09651 100644 --- a/spec.html +++ b/spec.html @@ -32884,7 +32884,7 @@

RegExp.prototype [ @@replace ] ( _string_, _replaceValue_ )

1. Let _thisIndex_ be ? ToLength(? Get(_rx_, *"lastIndex"*)). 1. Let _nextIndex_ be AdvanceStringIndex(_S_, _thisIndex_, _fullUnicode_). 1. Perform ? Set(_rx_, *"lastIndex"*, _nextIndex_, *true*). - 1. Let _accumulatedResult_ be the empty String value. + 1. Let _accumulatedResult_ be the empty String. 1. Let _nextSourcePosition_ be 0. 1. For each _result_ in _results_, do 1. Let _nCaptures_ be ? LengthOfArrayLike(_result_).