Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
Chrome 76
Linux
Desktop
5 years ago
Test name Executions per second
undefined 2685468.0 Ops/sec
typeof 10128350.0 Ops/sec
in 9176234.0 Ops/sec
hasOwnProperty 5797065.5 Ops/sec
bool 6910357.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;