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 72357568.0 Ops/sec
typeof 213041632.0 Ops/sec
in 108427488.0 Ops/sec
hasOwnProperty 132882424.0 Ops/sec
bool 204598576.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool