module.evaluate([options])
评估模块。
【Evaluate the module.】
必须在模块已链接后调用此方法;否则将会被拒绝。它也可以在模块已经被评估之后调用,在这种情况下,如果初始评估成功结束(module.status 为 'evaluated'),它将什么也不做;如果初始评估导致了异常(module.status 为 'errored'),它将重新抛出该异常。
【This must be called after the module has been linked; otherwise it will reject.
It could be called also when the module has already been evaluated, in which
case it will either do nothing if the initial evaluation ended in success
(module.status is 'evaluated') or it will re-throw the exception that the
initial evaluation resulted in (module.status is 'errored').】
在模块正在被评估时(module.status 为 'evaluating'),无法调用此方法。
【This method cannot be called while the module is being evaluated
(module.status is 'evaluating').】
对应 ECMAScript 规范中 循环模块记录 的 Evaluate() 具体方法 字段。
【Corresponds to the Evaluate() concrete method field of Cyclic Module Records in the ECMAScript specification.】