Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0
Firefox 61
Mac OS X 10.13
Desktop
6 years ago
Test name Executions per second
undefined 128966600.0 Ops/sec
typeof 264766144.0 Ops/sec
in 181453920.0 Ops/sec
hasOwnProperty 180013696.0 Ops/sec
bool 262247744.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool