阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js module.instantiate

      Node.js module.instantiate()

      Instantiate the module. This must be called after linking has completed (linkingStatus is ‘linked’); otherwise it will throw an error. It may also throw an exception if one of the dependencies does not provide an export the parent module requires.

      However, if this function succeeded, further calls to this function after the initial instantiation will be no-ops, to be consistent with the ECMAScript specification.

      Unlike other methods operating on Module, this function completes synchronously and returns nothing.

      Corresponds to the Instantiate() concrete method field of Source Text Module Records in the ECMAScript specification.


      更多内容请参考:Node.js vm,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录