benchmark連結 array方法測試 Benchmark: forEach vs map by cuteLuna v2 – MeasureThat.net Benchmark: simple array and map vs forEach vs for by cuteLuna v2 – MeasureThat.net參考: Performance of JavaScript .forEach, .map and .reduce vs for and for..of (leanylabs.com)