import() 表达式


¥import() expressions

动态 import() 提供了一种异步导入模块的方式。它在 CommonJS 和 ES 模块中均受支持,并且可以用于加载 CommonJS 和 ES 模块。

¥Dynamic import() provides an asynchronous way to import modules. It is supported in both CommonJS and ES modules, and can be used to load both CommonJS and ES modules.