Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Windows
Desktop
one year ago
Test name Executions per second
for-loop 10076581.0 Ops/sec
for..of 13644362.0 Ops/sec
Array.find() 27565426.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;