Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Chrome 60
Windows
Other
7 years ago
Test name Executions per second
undefined 3762594.8 Ops/sec
typeof 10161175.0 Ops/sec
in 9456807.0 Ops/sec
hasOwnProperty 9387839.0 Ops/sec
bool 10246599.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;