Skip to content

Commit 14540ac

Browse files
nicolo-ribaudoljharb
authored andcommitted
Normative: Restore params/body ToString order in new Function (#3288)
1 parent 334e058 commit 14540ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30224,10 +30224,10 @@ <h1>
3022430224
1. Let _parameterSym_ be the grammar symbol |FormalParameters[+Yield, +Await]|.
3022530225
1. Let _fallbackProto_ be *"%AsyncGeneratorFunction.prototype%"*.
3022630226
1. Let _argCount_ be the number of elements in _parameterArgs_.
30227-
1. Let _bodyString_ be ? ToString(_bodyArg_).
3022830227
1. Let _parameterStrings_ be a new empty List.
3022930228
1. For each element _arg_ of _parameterArgs_, do
3023030229
1. Append ? ToString(_arg_) to _parameterStrings_.
30230+
1. Let _bodyString_ be ? ToString(_bodyArg_).
3023130231
1. Let _currentRealm_ be the current Realm Record.
3023230232
1. Perform ? HostEnsureCanCompileStrings(_currentRealm_, _parameterStrings_, _bodyString_, *false*).
3023330233
1. Let _P_ be the empty String.

0 commit comments

Comments
 (0)