Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36
Chrome 55
Mac OS X 10.12.1
Other
8 years ago
Test name Executions per second
undefined 3974247.2 Ops/sec
typeof 12119078.0 Ops/sec
in 11392610.0 Ops/sec
hasOwnProperty 11312460.0 Ops/sec
bool 11786398.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool