Run details:
Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows 8.1
Desktop
4 years ago
Test name Executions per second
undefined 6557758.5 Ops/sec
typeof 11523667.0 Ops/sec
in 12118240.0 Ops/sec
hasOwnProperty 10367977.0 Ops/sec
bool 63299880.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;