Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:70.0) Gecko/20100101 Firefox/70.0
Firefox 70
Mac OS X 10.14
Desktop
5 years ago
Test name Executions per second
undefined 125001136.0 Ops/sec
typeof 352153120.0 Ops/sec
in 179185152.0 Ops/sec
hasOwnProperty 187127392.0 Ops/sec
bool 349905888.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool