mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
This commit is contained in:
commit
67f9495d64
@ -451,7 +451,7 @@ export { foo, bar } from 'my_module';
|
||||
|
||||
// 等同于
|
||||
import { foo, bar } from 'my_module';
|
||||
export { foo, boo};
|
||||
export { foo, bar };
|
||||
```
|
||||
|
||||
上面代码中,`export`和`import`语句可以结合在一起,写成一行。
|
||||
|
Loading…
x
Reference in New Issue
Block a user