mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2024-04-21 12:32:22 +00:00
修改了两处: 1)步骤描述 `ReturnIfAbrupt(result)` 应该描述为: > 1. If result is an abrupt completion, return result. > 2. Set result to result.[[Value]] 而非 > 1. If resultCompletionRecord is an abrupt completion, return resultCompletionRecord. > 2. Let result be resultCompletionRecord.[[Value]]. 改写之后,方便简写前后的对照,而不至于对不上号。 另外,第一步也修改为:Let result be AbstractOp() “Set result to result.[[Value]]”的写法参考了这里的:https://v8.dev/blog/understanding-ecmascript-part-1#completion-records 2) 简化了步骤之后的文字描述