Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox 72
Windows
Desktop
4 years ago
Test name Executions per second
undefined 133496320.0 Ops/sec
typeof 257651024.0 Ops/sec
in 188424352.0 Ops/sec
hasOwnProperty 164100640.0 Ops/sec
bool 252917952.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool