Run details:
Mozilla/5.0 (Linux; Android 11; SM-G996B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36
Chrome Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
Object.hasOwnProperty 1594723.4 Ops/sec
Object in 1811524.5 Ops/sec
Array.indexOf 359014.9 Ops/sec
direct 1783549.9 Ops/sec
Array includes 402544.5 Ops/sec
Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array includes


;