Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 7_0_4 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11B554a Safari/9537.53
Mobile Safari 7
iOS 7.0.4
Mobile
6 years ago
Test name Executions per second
undefined 150390.8 Ops/sec
typeof 962328.1 Ops/sec
in 784851.0 Ops/sec
hasOwnProperty 297037.9 Ops/sec
bool 1153603.2 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;