Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36
Chrome 95
Linux
Desktop
2 years ago
Test name Executions per second
undefined 3788304.8 Ops/sec
typeof 10510586.0 Ops/sec
in 10507561.0 Ops/sec
hasOwnProperty 9601405.0 Ops/sec
bool 10955173.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool