Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Chrome 106
Linux
Desktop
2 years ago
Test name Executions per second
undefined 2703320.0 Ops/sec
typeof 7956007.0 Ops/sec
in 7353079.0 Ops/sec
hasOwnProperty 7259823.0 Ops/sec
bool 7890016.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool