Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.99 Safari/537.36
Chrome 93
Windows 7
Desktop
2 years ago
Test name Executions per second
undefined 7619748.0 Ops/sec
typeof 7518953.5 Ops/sec
in 7641676.0 Ops/sec
hasOwnProperty 6963555.0 Ops/sec
bool 7628091.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;