Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:65.0) Gecko/20100101 Firefox/65.0
Firefox 65
Mac OS X 10.13
Desktop
5 years ago
Test name Executions per second
undefined 157674560.0 Ops/sec
typeof 315402112.0 Ops/sec
in 232588992.0 Ops/sec
hasOwnProperty 237151728.0 Ops/sec
bool 314801504.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool