Run details:
Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
Object.hasOwnProperty 1026308.1 Ops/sec
Object in 943495.4 Ops/sec
Array.indexOf 185157.6 Ops/sec
direct 941680.9 Ops/sec
Array includes 184713.1 Ops/sec
Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array includes


;