Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Firefox 50
Mac OS X 10.12
Other
8 years ago
Test name Executions per second
undefined 260622384.0 Ops/sec
typeof 487674496.0 Ops/sec
in 40168216.0 Ops/sec
hasOwnProperty 48139952.0 Ops/sec
bool 484451872.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool