Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome 87
Fedora
Desktop
3 years ago
Test name Executions per second
undefined 2723331.5 Ops/sec
typeof 7915781.5 Ops/sec
in 7874623.0 Ops/sec
hasOwnProperty 6592676.5 Ops/sec
bool 7591943.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;