Run details:
Mozilla/5.0 (Linux; Android 10; Redmi Note 7 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Mobile Safari/537.36
Chrome Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
Object.hasOwnProperty 1355994.9 Ops/sec
Object in 1273429.4 Ops/sec
Array.indexOf 302229.6 Ops/sec
direct 1246927.4 Ops/sec
Array includes 284350.4 Ops/sec
Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array includes


;