Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Windows 7
Desktop
3 years ago
Test name Executions per second
for-loop 15320964.0 Ops/sec
for..of 3115773.5 Ops/sec
Array.find() 859239.2 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;