Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Firefox 60
Ubuntu
Desktop
6 years ago
Test name Executions per second
undefined 60364688.0 Ops/sec
typeof 153216576.0 Ops/sec
in 92036600.0 Ops/sec
hasOwnProperty 88192144.0 Ops/sec
bool 161159744.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool