Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
Chrome 72
Fedora
Desktop
5 years ago
Test name Executions per second
undefined 2012604.9 Ops/sec
typeof 5706956.0 Ops/sec
in 5067974.5 Ops/sec
hasOwnProperty 4860971.5 Ops/sec
bool 5984375.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;