fe icon indicating copy to clipboard operation
fe copied to clipboard

await、return 和 return await 的陷阱

Open justjavac opened this issue 8 years ago • 2 comments

文章await、return 和 return await 的陷阱

音频:无

视频:无


原文await vs return vs return await

justjavac avatar Dec 11 '17 02:12 justjavac

第三段的翻译错乱了。

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

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

kezhuw avatar Dec 11 '17 07:12 kezhuw

果然乱了,已经修正

justjavac avatar Dec 11 '17 08:12 justjavac