Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0
Firefox 77
Mac OS X 10.15
Desktop
4 years ago
Test name Executions per second
undefined 102753776.0 Ops/sec
typeof 254748608.0 Ops/sec
in 145853184.0 Ops/sec
hasOwnProperty 154972096.0 Ops/sec
bool 270900128.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool