Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
Chrome 91
Linux
Desktop
3 years ago
Test name Executions per second
undefined 4876735.5 Ops/sec
typeof 14065622.0 Ops/sec
in 13894755.0 Ops/sec
hasOwnProperty 12127830.0 Ops/sec
bool 13515567.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool