You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Set _P_ to the string-concatenation of the previous value of _P_, *","* (a comma), and _nextArgString_.
25777
25777
1. Set _k_ to _k_ + 1.
25778
25778
1. Let _bodyText_ be _args_[_k_].
25779
-
1. Set _bodyText_ to ? ToString(_bodyText_).
25779
+
1. Set _bodyText_ to be the string-concatenation of 0x000A (LINE FEED), ? ToString(_bodyText_), and 0x000A (LINE FEED).
25780
25780
1. Perform the following substeps in an implementation-dependent order, possibly interleaving parsing and error detection:
25781
25781
1. Let _parameters_ be the result of parsing _P_, interpreted as UTF-16 encoded Unicode text as described in <emu-xref href="#sec-ecmascript-language-types-string-type"></emu-xref>, using _parameterGoal_ as the goal symbol. Throw a *SyntaxError* exception if the parse fails.
25782
25782
1. Let _body_ be the result of parsing _bodyText_, interpreted as UTF-16 encoded Unicode text as described in <emu-xref href="#sec-ecmascript-language-types-string-type"></emu-xref>, using _goal_ as the goal symbol. Throw a *SyntaxError* exception if the parse fails.
1. NOTE: Async functions are not constructable and do not have a [[Construct]] internal method or a *"prototype"* property.
25810
25810
1. Perform SetFunctionName(_F_, *"anonymous"*).
25811
25811
1. Let _prefix_ be the prefix associated with _kind_ in <emu-xref href="#table-dynamic-function-sourcetext-prefixes"></emu-xref>.
25812
-
1. Let _sourceText_ be the string-concatenation of _prefix_, *" anonymous("*, _P_, 0x000A (LINE FEED), *") {"*, 0x000A (LINE FEED), _bodyText_, 0x000A (LINE FEED), and *"}"*.
25812
+
1. Let _sourceText_ be the string-concatenation of _prefix_, `" anonymous("`, _P_, 0x000A (LINE FEED), `") {"`, _bodyText_, and `"}"`.
0 commit comments