Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/113.0.5672.121 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 113
iOS 15.6
Mobile
one year ago
Test name Executions per second
undefined 6337598.0 Ops/sec
typeof 17254586.0 Ops/sec
in 16600545.0 Ops/sec
hasOwnProperty 16723129.0 Ops/sec
bool 14804657.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool