Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/604.4.7 (KHTML, like Gecko) Version/11.0.2 Safari/604.4.7
Safari 11
Mac OS X 10.11.6
Desktop
4 years ago
Test name Executions per second
reduce 36644.2 Ops/sec
for loop 318135.1 Ops/sec
forEach 167211.0 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach


;