for... of 真的好吗?

- 原生情况下: for... of 循环比 map 快了约 50%
- polyfilled 情况下: for... of 循环比 map 循环慢约 70%

肯定好呀,理解起来简单。
展开
评论