Run details:
Mozilla/5.0 (Windows NT 6.1; rv:81.0) Gecko/20100101 Firefox/81.0
Firefox 81
Windows 7
Desktop
4 years ago
Test name Executions per second
undefined 112459760.0 Ops/sec
typeof 294968544.0 Ops/sec
in 203259408.0 Ops/sec
hasOwnProperty 205401408.0 Ops/sec
bool 291553728.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool