Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0
Firefox 86
Ubuntu
Desktop
3 years ago
Test name Executions per second
undefined 473621856.0 Ops/sec
typeof 478269952.0 Ops/sec
in 459448480.0 Ops/sec
hasOwnProperty 420600288.0 Ops/sec
bool 441184352.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool