Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
Chrome 77
Linux
Desktop
5 years ago
Test name Executions per second
undefined 5803537.5 Ops/sec
typeof 15303675.0 Ops/sec
in 15346586.0 Ops/sec
hasOwnProperty 12558658.0 Ops/sec
bool 15449772.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool