8.1.1.3.5 GetSuperBase ( )

  1. 使 envRec 变为调用该方法的函数环境记录。

  2. 使 home 变为 envRec.[[HomeObject]]。

  3. 如果 home 有 undefined 值,则返回 undefined

  4. 断言:Type(home) 为 Object 类型。

  5. 返回 ? home.[[GetPrototypeOf]]()。

results matching ""

    No results matching ""