Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
Chrome 65
Linux
Other
6 years ago
Test name Executions per second
undefined 2923859.2 Ops/sec
typeof 9683602.0 Ops/sec
in 9163733.0 Ops/sec
hasOwnProperty 8875602.0 Ops/sec
bool 9889577.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool