Run details:
Mozilla/5.0 (Android 10; Mobile; rv:81.0) Gecko/81.0 Firefox/81.0
Firefox Mobile 81
Android
Mobile
4 years ago
Test name Executions per second
Object.hasOwnProperty 7344962.5 Ops/sec
Object in 7155135.0 Ops/sec
Array.indexOf 139531.2 Ops/sec
direct 7229213.0 Ops/sec
Array includes 127310.1 Ops/sec
Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array includes


;