Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.108 Safari/537.36
Chrome 74
Linux
Desktop
5 years ago
Test name Executions per second
undefined 3912088.0 Ops/sec
typeof 11939441.0 Ops/sec
in 11933107.0 Ops/sec
hasOwnProperty 9606958.0 Ops/sec
bool 11942259.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool