Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36
Chrome 88
Fedora
Desktop
3 years ago
Test name Executions per second
undefined 5271921.0 Ops/sec
typeof 16505570.0 Ops/sec
in 16500140.0 Ops/sec
hasOwnProperty 14214453.0 Ops/sec
bool 16609005.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool