TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

JavaScript Illustrated: Promises

36 点作者 eibrahim超过 5 年前

2 条评论

thymanl23超过 5 年前
Check out &quot;The Problem with Promises in JavaScript&quot; [0] for some gotchas with the design of js promises.<p>[0] <a href="https:&#x2F;&#x2F;dev.to&#x2F;craigmichaelmartin&#x2F;the-problem-with-promises-in-javascript-5h46" rel="nofollow">https:&#x2F;&#x2F;dev.to&#x2F;craigmichaelmartin&#x2F;the-problem-with-promises-...</a>
评论 #21224421 未加载
nailer超过 5 年前
Odd for an article written in Oct 8 2019, there&#x27;s no mention of ES2017&#x27;s `await`.<p>`.then()` was fine back in the day, but there&#x27;s not a good reason to write new code using it in 2019.
评论 #21224298 未加载
评论 #21227588 未加载