Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Firefox 67
Windows 7
Desktop
5 years ago
Test name Executions per second
undefined 94309456.0 Ops/sec
typeof 239135728.0 Ops/sec
in 132624296.0 Ops/sec
hasOwnProperty 133230104.0 Ops/sec
bool 236385824.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool