Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 13_0 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.0
Mobile
5 years ago
Test name Executions per second
undefined 936306.8 Ops/sec
typeof 2640505.0 Ops/sec
in 2645270.0 Ops/sec
hasOwnProperty 1774930.8 Ops/sec
bool 2144938.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool