Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:59.0) Gecko/20100101 Firefox/59.0
Firefox 59
Mac OS X 10.13
Other
6 years ago
Test name Executions per second
undefined 108213368.0 Ops/sec
typeof 190685568.0 Ops/sec
in 130548128.0 Ops/sec
hasOwnProperty 142533600.0 Ops/sec
bool 209746112.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool