Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Firefox 57
Windows 7
Other
7 years ago
Test name Executions per second
undefined 160904800.0 Ops/sec
typeof 480092256.0 Ops/sec
in 213971280.0 Ops/sec
hasOwnProperty 211484432.0 Ops/sec
bool 487110560.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool