Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Firefox 70
Windows
Desktop
5 years ago
Test name Executions per second
undefined 201033264.0 Ops/sec
typeof 400360096.0 Ops/sec
in 287563616.0 Ops/sec
hasOwnProperty 292830528.0 Ops/sec
bool 399265632.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool