Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Firefox 57
Windows
Other
2025 years ago
Test name Executions per second
undefined 141125856.0 Ops/sec
typeof 252802384.0 Ops/sec
in 183342048.0 Ops/sec
hasOwnProperty 190655232.0 Ops/sec
bool 250919584.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool