Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
undefined 154487744.0 Ops/sec
typeof 298478176.0 Ops/sec
in 226480400.0 Ops/sec
hasOwnProperty 229322768.0 Ops/sec
bool 316103328.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool