Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Windows
Desktop
one year ago
Test name Executions per second
undefined 916948.3 Ops/sec
typeof 2640569.8 Ops/sec
in 2393547.0 Ops/sec
hasOwnProperty 2443293.2 Ops/sec
bool 2962305.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool