Run details:
Mozilla/5.0 (X11; CrOS x86_64 13099.110.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.136 Safari/537.36
Chrome 84
Chrome OS 13099.110.0
Desktop
4 years ago
Test name Executions per second
undefined 1178673.5 Ops/sec
typeof 3497824.8 Ops/sec
in 3457980.2 Ops/sec
hasOwnProperty 2945321.0 Ops/sec
bool 3485640.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool