Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Firefox 56
Windows
Other
7 years ago
Test name Executions per second
undefined 155411280.0 Ops/sec
typeof 517956896.0 Ops/sec
in 208642272.0 Ops/sec
hasOwnProperty 207664128.0 Ops/sec
bool 517632128.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool