Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 13_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/87.0.4280.77 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 87
iOS 13.7
Mobile
3 years ago
Test name Executions per second
undefined 6448235.5 Ops/sec
typeof 17901638.0 Ops/sec
in 18446368.0 Ops/sec
hasOwnProperty 17982878.0 Ops/sec
bool 16950654.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;