Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Firefox 61
Windows
Desktop
5 years ago
Test name Executions per second
undefined 129046400.0 Ops/sec
typeof 259939400.0 Ops/sec
in 183412600.0 Ops/sec
hasOwnProperty 188086300.0 Ops/sec
bool 265372800.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool