Daniel
Results
2
comments of
Daniel
第三种方式是有缺陷的,1秒后同时输出1,4,9 给出改进的方法 ` const list = [1, 2, 3] const square = num => { return new Promise((resolve, reject) => { setTimeout(() => { resolve(num * num) }, 1000) })...
I also appears this question