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

await、return 和 return await 的陷阱 #12

Open
justjavac opened this issue Dec 11, 2017 · 2 comments
Open

await、return 和 return await 的陷阱 #12

justjavac opened this issue Dec 11, 2017 · 2 comments

Comments

@justjavac
Copy link
Contributor

文章await、return 和 return await 的陷阱

音频:无

视频:无


原文await vs return vs return await

@kezhuw
Copy link

kezhuw commented Dec 11, 2017

第三段的翻译错乱了。

代码是原文的第三段,结论是原文的第四段。

幸亏点进原文看了下,要不然以为 JavaScript 又犯傻了。

@justjavac
Copy link
Contributor Author

果然乱了,已经修正

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

2 participants