Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Firefox 60
Ubuntu
Desktop
6 years ago
Test name Executions per second
undefined 74236432.0 Ops/sec
typeof 194332464.0 Ops/sec
in 109272872.0 Ops/sec
hasOwnProperty 132382640.0 Ops/sec
bool 210221600.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool