6.2.2.5 更新为空(完成记录,值)

具有参数 completionRecord 和 value 的抽象操作 UpdateEmpty 执行步骤如下:

  1. 断言:如果 completionRecord.[[Type]] 是 returnthrow,然后 completionRecord.[[Value]] 不为空(empty)。

  2. 如果 completionRecord.[[Type]] 不为空(empty),返回 Completion(completionRecord)。

  3. 返回 Completion{ [[Type]]: completionRecord.[[Type]], [[Value]]: value, [[Target]]: completionRecord.[[Target]] }.

results matching ""

    No results matching ""