Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Chrome 83
Linux
Desktop
4 years ago
Test name Executions per second
undefined 1909654.2 Ops/sec
typeof 5547555.5 Ops/sec
in 5472953.0 Ops/sec
hasOwnProperty 4529663.5 Ops/sec
bool 5587195.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool