• Inside b. js: define(["require", "a" function (require, a) { "a" in this case will be null if a also asked forb, a circular dependency. return function (title) { return require("a" ). doSomething();

    模块可以不必返回对象,任何有效的返回可以的,比如上面的例子,返回一个函数作为其模块定义

    youdao

  • Inside b. js: define(["require", "a" function (require, a) { "a" in this case will be null if a also asked forb, a circular dependency. return function (title) { return require("a" ). doSomething();

    模块可以不必返回对象,任何有效的返回可以的,比如上面的例子,返回一个函数作为其模块定义

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定