Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36
Chrome 80
Windows 8.1
Desktop
4 years ago
Test name Executions per second
undefined 1828340.8 Ops/sec
typeof 5266450.5 Ops/sec
in 5307534.5 Ops/sec
hasOwnProperty 4424050.5 Ops/sec
bool 4883766.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;