1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

Merge pull request #979 from suzhongping/patch-1

Update module.md
This commit is contained in:
Ruan YiFeng 2020-04-25 14:13:46 +08:00 committed by GitHub
commit d65a547832
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ ES6 模块的设计思想是尽量的静态化,使得编译时就能确定模
```javascript
// CommonJS模块
let { stat, exists, readFile } = require('fs');
let { stat, exists, readfile } = require('fs');
// 等同于
let _fs = require('fs');