我正在分析Chrome扩展程序中的javascript代码并注意到它.
require("name of required class/file/module") //Not sure whether it is class,file,module
Run Code Online (Sandbox Code Playgroud)
可能是因为我是编程之类的新手,但我无法在javascript参考或文档中找到'require'关键字.导入模块有'import'语句.我用google搜索javascript的require,但我能找到的只是node.js的'require',服务器端使用javascript编写脚本.我在谈论chrome扩展/客户端脚本.有人对此有任何想法吗?
| 归档时间: |
|
| 查看次数: |
33453 次 |
| 最近记录: |