Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Firefox 60
Ubuntu
Desktop
6 years ago
Test name Executions per second
undefined 70028344.0 Ops/sec
typeof 160560032.0 Ops/sec
in 89812136.0 Ops/sec
hasOwnProperty 85672808.0 Ops/sec
bool 161694176.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool