Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Mac OS X 10.12
Other
7 years ago
Test name Executions per second
Map 164.2 Ops/sec
For Loop 85.8 Ops/sec
For Loop -- Cached array length 120.9 Ops/sec
Script Preparation code:
Tests:
  • Map

  • For Loop

  • For Loop -- Cached array length


;