Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Ubuntu
Desktop
4 years ago
Test name Executions per second
undefined 142769104.0 Ops/sec
typeof 277176768.0 Ops/sec
in 195101168.0 Ops/sec
hasOwnProperty 197320992.0 Ops/sec
bool 277798176.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool