Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Object.hasOwnProperty 1570788608.0 Ops/sec
Object in 1569212032.0 Ops/sec
Array.indexOf 1432829.8 Ops/sec
direct 1568375168.0 Ops/sec
Array includes 1454015.9 Ops/sec
Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array includes


;