Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:66.0) Gecko/20100101 Firefox/66.0
Firefox 66
Mac OS X 10.12
Desktop
5 years ago
Test name Executions per second
undefined 120661048.0 Ops/sec
typeof 303910368.0 Ops/sec
in 205878144.0 Ops/sec
hasOwnProperty 177767600.0 Ops/sec
bool 260665216.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool