Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:94.0) Gecko/20100101 Firefox/94.0
Firefox 94
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
for-loop 18779454.0 Ops/sec
for..of 22380306.0 Ops/sec
Array.find() 53993320.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;