Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101 Firefox/82.0
Firefox 82
Mac OS X 10.15
Desktop
4 years ago
Test name Executions per second
for-loop 6386740.0 Ops/sec
for..of 22470042.0 Ops/sec
Array.find() 53083724.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;