Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36
Chrome 61
Linux
Other
7 years ago
Test name Executions per second
For loop 19541.5 Ops/sec
IndexOf 1290974.6 Ops/sec
Script Preparation code:
Tests:
  • For loop

  • IndexOf


;