Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36
Chrome 63
Linux
Other
6 years ago
Test name Executions per second
undefined 3608442.0 Ops/sec
typeof 11587040.0 Ops/sec
in 10319390.0 Ops/sec
hasOwnProperty 10449260.0 Ops/sec
bool 11661300.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool