Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14
Safari 10
Mac OS X 10.12.1
Other
8 years ago
Test name Executions per second
undefined 4582641.5 Ops/sec
typeof 13418391.0 Ops/sec
in 13086894.0 Ops/sec
hasOwnProperty 10169121.0 Ops/sec
bool 13340025.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool