Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
Chrome 79
Windows
Desktop
5 years ago
Test name Executions per second
undefined 2590670.8 Ops/sec
typeof 7529311.0 Ops/sec
in 7866208.5 Ops/sec
hasOwnProperty 7024838.0 Ops/sec
bool 7739777.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool