Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Firefox 58
Ubuntu
Other
2025 years ago
Test name Executions per second
undefined 105439536.0 Ops/sec
typeof 188557872.0 Ops/sec
in 128735416.0 Ops/sec
hasOwnProperty 124981880.0 Ops/sec
bool 185423648.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool