Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79
Windows
Desktop
4 years ago
Test name Executions per second
undefined 91090528.0 Ops/sec
typeof 219349440.0 Ops/sec
in 132360544.0 Ops/sec
hasOwnProperty 131976752.0 Ops/sec
bool 219486352.0 Ops/sec
Undefined2 95855224.0 Ops/sec
undefined3 96450120.0 Ops/sec
undefined4 96566920.0 Ops/sec
bool2 233647312.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool

  • Undefined2

  • undefined3

  • undefined4

  • bool2


;