We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f301b5d commit 2dbd318Copy full SHA for 2dbd318
docs/module.md
@@ -205,7 +205,7 @@ function setName(element) {
205
import { lastName as surname } from './profile';
206
```
207
208
-`import`后面的`from`指定模块文件的位置,可以是相对路径,也可以是绝对路径,`.js`路径可以省略。如果只是模块名,不带有路径,那么必须有配置文件,告诉 JavaScript 引擎该模块的位置。
+`import`后面的`from`指定模块文件的位置,可以是相对路径,也可以是绝对路径,`.js`后缀可以省略。如果只是模块名,不带有路径,那么必须有配置文件,告诉 JavaScript 引擎该模块的位置。
209
210
```javascript
211
import {myMethod} from 'util';
0 commit comments