Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Windows
Desktop
one year ago
Test name Executions per second
undefined 3926.9 Ops/sec
typeof 5735.9 Ops/sec
in 6709.1 Ops/sec
hasOwnProperty 4289.7 Ops/sec
bool 5446.8 Ops/sec
hasOwn 3028.4 Ops/sec
prototype.hasOwnProperty 2123.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool

  • hasOwn

  • prototype.hasOwnProperty


;