Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/83.0.4103.61 Chrome/83.0.4103.61 Safari/537.36
Chromium 83
Ubuntu
Desktop
4 years ago
Test name Executions per second
undefined 2268249.5 Ops/sec
typeof 6561877.5 Ops/sec
in 6564145.0 Ops/sec
hasOwnProperty 5382695.0 Ops/sec
bool 6599315.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;