for await (let a of [1,2,3]) { console.log(a) } node 环境里必须在 async 函数中, 浏览器控制台中不需要。 相关文章: 2022-12-23 2022-12-23 2021-12-14 2021-06-22 2021-08-16