Run details:
Mozilla/5.0 (Linux; Android 7.0; Infinix X559C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.99 Mobile Safari/537.36
Chrome Mobile 80
Android 7.0
Mobile
3 years ago
Test name Executions per second
Object.hasOwnProperty 188314.5 Ops/sec
Object in 189355.0 Ops/sec
Array.indexOf 44526.7 Ops/sec
direct 168161.7 Ops/sec
Array includes 45033.9 Ops/sec
Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array includes


;