Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Chrome 65
Mac OS X 10.11.6
Other
6 years ago
Test name Executions per second
for loop 3820984.2 Ops/sec
map 1890790.6 Ops/sec
map with arrow function 1989070.2 Ops/sec
Tests:
  • for loop

  • map

  • map with arrow function


;