Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:86.0) Gecko/20100101 Firefox/86.0
Firefox 86
Mac OS X 10.15
Desktop
3 years ago
Test name Executions per second
Object.hasOwnProperty 642085376.0 Ops/sec
Object in 642579584.0 Ops/sec
Array.indexOf 263326.3 Ops/sec
direct 647125440.0 Ops/sec
Array includes 125684.3 Ops/sec
Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array includes


;