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 3304362.5 Ops/sec
typeof 8540642.0 Ops/sec
in 7802299.5 Ops/sec
hasOwnProperty 7887337.5 Ops/sec
bool 8639749.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;