Run details:
Mozilla/5.0 (Linux; Android 11; SM-G770F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36
Chrome Mobile 90
Android
Mobile
3 years ago
Test name Executions per second
Object.hasOwnProperty 3192605.8 Ops/sec
Object in 2799151.5 Ops/sec
Array.indexOf 466449.1 Ops/sec
direct 2825018.8 Ops/sec
Array includes 460147.7 Ops/sec
Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array includes


;