摘要: // Asynchronous iteration --> Symbol.asyncIterator async function main() { const syncIterable = [ Promise.resolve('a'), Promise.resolve('b'), ]; for await (const x of sync... 阅读全文
posted @ 2018-02-25 01:47 Zhentiw 阅读(331) 评论(0) 推荐(0)