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 3543830.5 Ops/sec
typeof 11929506.0 Ops/sec
in 11085988.0 Ops/sec
hasOwnProperty 10747014.0 Ops/sec
bool 11796294.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;