Web appOpen in Telegram

Threadasync function foo(a) {

4 messages · –
阿
async function foo(a) { if (a) { return anotherPromise(); } else { return 2; } }
    1. P
      這個例子加上了也不會阻塞吧?
  1. R
    这是因为 promise 刚好是返回值啊,加不加无所谓
JJavaScript/Node.js 台灣JavaScript/Node.js 台灣@JavaScriptTw · group · Tech
1 999members4writing in 30 days
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog · Search · How we count