Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.34
Chrome 112
Linux
Desktop
one year ago
Test name Executions per second
undefined 3382749.8 Ops/sec
typeof 10779196.0 Ops/sec
in 10363802.0 Ops/sec
hasOwnProperty 9701552.0 Ops/sec
bool 10730183.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool