CommonJS 使用同步的 require() 语句,但如果你有一个像这样的模块怎么办: function asyncFunction() { var promise = ...; return promise; } module.exports ...
確定! 回上一頁