docs(module): fixed #1157

This commit is contained in:
ruanyf
2023-06-15 13:18:56 +08:00
parent 43222de51b
commit 4e40582916
+2
View File
@@ -162,6 +162,8 @@ function f() {}
export {f};
```
目前,export 命令能够对外输出的就是三种接口:函数(Functions), 类(Classes),var、let、const 声明的变量(Variables)。
另外,`export`语句输出的接口,与其对应的值是动态绑定关系,即通过该接口,可以取到模块内部实时的值。
```javascript