Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.52
Chrome 107
Linux
Desktop
2 years ago
Test name Executions per second
undefined 3108093.2 Ops/sec
typeof 10221893.0 Ops/sec
in 10354788.0 Ops/sec
hasOwnProperty 8682557.0 Ops/sec
bool 9035076.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool