Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108
Windows
Desktop
one year ago
Test name Executions per second
undefined 1114665984.0 Ops/sec
typeof 1297281792.0 Ops/sec
in 1141858176.0 Ops/sec
hasOwnProperty 1068280832.0 Ops/sec
bool 1295866112.0 Ops/sec
Object.prototype.hasOwnProperty 2602873.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool

  • Object.prototype.hasOwnProperty