Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:71.0) Gecko/20100101 Firefox/71.0
Firefox 71
Mac OS X 10.13
Desktop
5 years ago
Test name Executions per second
undefined 70797256.0 Ops/sec
typeof 153563440.0 Ops/sec
in 105351912.0 Ops/sec
hasOwnProperty 110537488.0 Ops/sec
bool 154813552.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool