Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox 72
Mac OS X 10.15
Desktop
5 years ago
Test name Executions per second
undefined 159510336.0 Ops/sec
typeof 318076928.0 Ops/sec
in 230314128.0 Ops/sec
hasOwnProperty 228917504.0 Ops/sec
bool 310361888.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool