Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:59.0) Gecko/20100101 Firefox/59.0
Firefox 59
Mac OS X 10.12
Other
6 years ago
Test name Executions per second
undefined 113427720.0 Ops/sec
typeof 248999216.0 Ops/sec
in 134872960.0 Ops/sec
hasOwnProperty 141530960.0 Ops/sec
bool 248101200.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool