Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/69.0.3497.81 Chrome/69.0.3497.81 Safari/537.36
Chromium 69
Ubuntu
Desktop
6 years ago
Test name Executions per second
undefined 930576.0 Ops/sec
typeof 2846469.2 Ops/sec
in 2506879.5 Ops/sec
hasOwnProperty 2502308.2 Ops/sec
bool 2856925.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool