Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36
Chrome 55
Mac OS X 10.11.6
Other
7 years ago
Test name Executions per second
undefined 3410950.8 Ops/sec
typeof 10336473.0 Ops/sec
in 9894103.0 Ops/sec
hasOwnProperty 10154147.0 Ops/sec
bool 10965523.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;