Run details:
Mozilla/5.0 (Android 10; Mobile; rv:85.0) Gecko/85.0 Firefox/85.0
Firefox Mobile 85
Android
Mobile
4 years ago
Test name Executions per second
undefined 444896064.0 Ops/sec
typeof 447007008.0 Ops/sec
in 443907200.0 Ops/sec
hasOwnProperty 443257856.0 Ops/sec
bool 444806400.0 Ops/sec
Object.prototype.hasOwnProperty.call 440043680.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool

  • Object.prototype.hasOwnProperty.call