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 60369676.0 Ops/sec
typeof 160605184.0 Ops/sec
in 86153432.0 Ops/sec
hasOwnProperty 86689176.0 Ops/sec
bool 148584560.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;