Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/67.0.3396.99 Chrome/67.0.3396.99 Safari/537.36
Chromium 67
Ubuntu
Desktop
6 years ago
Test name Executions per second
undefined 3560491.2 Ops/sec
typeof 12349429.0 Ops/sec
in 11302276.0 Ops/sec
hasOwnProperty 10999625.0 Ops/sec
bool 12413927.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;