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 3926118.5 Ops/sec
typeof 11122762.0 Ops/sec
in 11038896.0 Ops/sec
hasOwnProperty 9698445.0 Ops/sec
bool 11128010.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool