Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
Chrome 77
Mac OS X 10.15.2
Desktop
4 years ago
Test name Executions per second
undefined 3968736.0 Ops/sec
typeof 10961324.0 Ops/sec
in 10869065.0 Ops/sec
hasOwnProperty 9953396.0 Ops/sec
bool 11488691.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;