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
In the following Evaluation algorithm, sl.[[Value]] in the last line should be sl because sl is already a completion's [[Value]] after ReturnIfAbrupt(sl).
15.2.1.20 Runtime Semantics: Evaluation
ModuleItemList: ModuleItemList ModuleItem
1. Let sl be the result of evaluating ModuleItemList.
2. ReturnIfAbrupt(sl).
3. Let s be the result of evaluating ModuleItem.
4. Return Completion(UpdateEmpty(s, sl.[[Value]])).
The text was updated successfully, but these errors were encountered:
5.2.3.3 ReturnIfAbrupt
Algorithms steps that say or are otherwise equivalent to:
ReturnIfAbrupt(argument).
mean the same thing as:
If argument is an abrupt completion, return argument.
Else if argument is a Completion Record, let argument be argument.[[Value]].
In above case, step 2 means:
If sl is an abrupt completion, return sl.
Else if sl is a Completion Record, let sl be sl.[[Value]].
In the following Evaluation algorithm, sl.[[Value]] in the last line should be sl because sl is already a completion's [[Value]] after ReturnIfAbrupt(sl).
The text was updated successfully, but these errors were encountered: