Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/108.0.5359.52 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 108
iOS 16.1
Mobile
2 years ago
Test name Executions per second
undefined 3243171.5 Ops/sec
typeof 9810693.0 Ops/sec
in 10004556.0 Ops/sec
hasOwnProperty 9504749.0 Ops/sec
bool 9828652.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool