Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36
Chrome 103
Linux
Desktop
2 years ago
Test name Executions per second
undefined 4368182.5 Ops/sec
typeof 13585647.0 Ops/sec
in 13557823.0 Ops/sec
hasOwnProperty 11848795.0 Ops/sec
bool 13532580.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool