Closed
Description
The only benchmarks I found are not up-do-date
V8 (Chrome, Node)
Array: for loop :: 64 +/- 1%
Array: reverse while :: 60 +/- 0%
Array: forEach() :: 235 +/- 0%
Should in io.js
for Array
-s also be used for loop
instead of forEach
?