Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
Firefox 65
Windows
Desktop
5 years ago
Test name Executions per second
undefined 104566792.0 Ops/sec
typeof 274153216.0 Ops/sec
in 142314608.0 Ops/sec
hasOwnProperty 141323520.0 Ops/sec
bool 301974944.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool