Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Chrome 61
Mac OS X 10.13.0
Other
7 years ago
Test name Executions per second
undefined 3281643.5 Ops/sec
typeof 8838558.0 Ops/sec
in 7513170.5 Ops/sec
hasOwnProperty 7724640.0 Ops/sec
bool 8795741.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;