Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

模块章节默认导入/导出小节内容有误 #180

Open
Jude-summery opened this issue Mar 31, 2020 · 0 comments
Open

模块章节默认导入/导出小节内容有误 #180

Jude-summery opened this issue Mar 31, 2020 · 0 comments

Comments

@Jude-summery
Copy link

在该小节给出的例子中有:

// some var
export default (someVar = 123);

在实现中采用这种方法会报错。
建议改为:

export default  123;

// 或

var someVar = 123;
export default someVar;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant