Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79
Mac OS X 10.15
Desktop
4 years ago
Test name Executions per second
undefined 105248568.0 Ops/sec
typeof 256339600.0 Ops/sec
in 153134816.0 Ops/sec
hasOwnProperty 181953056.0 Ops/sec
bool 257951504.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool