Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3198.0 Safari/537.36
Chrome 62
Windows 7
Other
7 years ago
Test name Executions per second
undefined 3130785.8 Ops/sec
typeof 8152798.5 Ops/sec
in 7221286.5 Ops/sec
hasOwnProperty 6109500.5 Ops/sec
bool 7918569.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;