Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Windows 8.1
Desktop
5 years ago
Test name Executions per second
undefined 104418408.0 Ops/sec
typeof 296139936.0 Ops/sec
in 157801776.0 Ops/sec
hasOwnProperty 150247680.0 Ops/sec
bool 296180768.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;