Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36 OPR/83.0.4254.27
Opera 83
Linux
Desktop
2 years ago
Test name Executions per second
undefined 6157227.5 Ops/sec
typeof 17848520.0 Ops/sec
in 18236992.0 Ops/sec
hasOwnProperty 15947870.0 Ops/sec
bool 17952736.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool