Thread吾辈一般的写法(ide 会提示加上
10 messages · –R
吾辈一般的写法(ide 会提示加上
async function foo(a) {
if (a) {
return await anotherPromise()
} else {
return 2
}
}
阿
♡
S
♡
狐狐 return await會寫注釋 為啥這行要關掉eslint嗎?
S
狐狐每条 eslint-disable 都有注释呀
♡
GIF
SLOW_LOOP_04-0045.mp4 · 221 KB · click to show
R
这个还真没留意过,一般加了 try/catch 才有不同的行为,不加 try/catch 有什么不同么?
S
♡
我是不直接 return await啦,會用一個中間變數撐一下,但一直覺得很醜...
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 ·
Index limits ·
Remove a page ·
Catalog ·
Search ·
How we count