Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0
Firefox 70
Linux
Desktop
5 years ago
Test name Executions per second
undefined 72917784.0 Ops/sec
typeof 193484768.0 Ops/sec
in 103396944.0 Ops/sec
hasOwnProperty 119587288.0 Ops/sec
bool 187065104.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool