Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:87.0) Gecko/20100101 Firefox/87.0
Firefox 87
Mac OS X 10.14
Desktop
3 years ago
Test name Executions per second
for-loop 8196732.5 Ops/sec
for..of 12751891.0 Ops/sec
Array.find() 35560596.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;