Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0
Firefox 65
Mac OS X 10.14
Desktop
6 years ago
Test name Executions per second
undefined 142584528.0 Ops/sec
typeof 295760448.0 Ops/sec
in 225511760.0 Ops/sec
hasOwnProperty 222060992.0 Ops/sec
bool 336885344.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool