Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Chrome 60
Windows 7
Other
7 years ago
Test name Executions per second
undefined 2882667.2 Ops/sec
typeof 7409327.0 Ops/sec
in 6991373.0 Ops/sec
hasOwnProperty 6831824.0 Ops/sec
bool 7449824.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool