Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36
Chrome 73
Linux
Desktop
5 years ago
Test name Executions per second
undefined 3255198.2 Ops/sec
typeof 11355366.0 Ops/sec
in 9416043.0 Ops/sec
hasOwnProperty 9008085.0 Ops/sec
bool 11244307.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool