Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0
Firefox 73
Windows
Desktop
4 years ago
Test name Executions per second
undefined 35029956.0 Ops/sec
typeof 91860200.0 Ops/sec
in 69259112.0 Ops/sec
hasOwnProperty 70251880.0 Ops/sec
bool 93481712.0 Ops/sec
Undefined2 36666320.0 Ops/sec
undefined3 37518360.0 Ops/sec
undefined4 37637628.0 Ops/sec
bool2 92777704.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool

  • Undefined2

  • undefined3

  • undefined4

  • bool2


;