Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3409.2 Safari/537.36
Chrome 68
Linux
Other
6 years ago
Test name Executions per second
undefined 4231798.0 Ops/sec
typeof 14381456.0 Ops/sec
in 12057626.0 Ops/sec
hasOwnProperty 12955243.0 Ops/sec
bool 14528080.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool