Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Firefox 70
Windows 7
Desktop
5 years ago
Test name Executions per second
undefined 108415936.0 Ops/sec
typeof 278688448.0 Ops/sec
in 170928048.0 Ops/sec
hasOwnProperty 150737136.0 Ops/sec
bool 277270144.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool