Run details:
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/65.0.3325.181 Chrome/65.0.3325.181 Safari/537.36
Chromium 65
Ubuntu
Desktop
3 years ago
Test name Executions per second
for-loop 9706981.0 Ops/sec
for..of 5996192.5 Ops/sec
Array.find() 10054227.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;