Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/74.0.3729.121 Mobile/15E148 Safari/605.1
Chrome Mobile iOS 74
iOS 13.3
Mobile
4 years ago
Test name Executions per second
undefined 3487297.0 Ops/sec
typeof 10150678.0 Ops/sec
in 10190109.0 Ops/sec
hasOwnProperty 10081731.0 Ops/sec
bool 10202559.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool