1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-25 11:12:21 +00:00

Merge pull request #296 from hyjiacan/patch-1

Update module.md
This commit is contained in:
Ruan YiFeng 2016-12-20 12:25:07 +08:00 committed by GitHub
commit 904dd9d4ed

View File

@ -451,7 +451,7 @@ export { foo, bar } from 'my_module';
// 等同于 // 等同于
import { foo, bar } from 'my_module'; import { foo, bar } from 'my_module';
export { foo, boo}; export { foo, bar };
``` ```
上面代码中,`export``import`语句可以结合在一起,写成一行。 上面代码中,`export``import`语句可以结合在一起,写成一行。