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 123572592.0 Ops/sec
typeof 239070784.0 Ops/sec
in 161940528.0 Ops/sec
hasOwnProperty 164116912.0 Ops/sec
bool 235184160.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool