Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36
Chrome 63
Mac OS X 10.11.6
Other
2025 years ago
Test name Executions per second
undefined 3343098.8 Ops/sec
typeof 9022505.0 Ops/sec
in 8984970.0 Ops/sec
hasOwnProperty 7880414.5 Ops/sec
bool 9907956.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;