1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

Update module.md

lowercase "readfile"
This commit is contained in:
suzhongping 2020-04-24 14:04:25 +08:00 committed by GitHub
parent f810124407
commit e11dc14db1
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');