Run details:
Mozilla/5.0 (iPad; CPU OS 15_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.167 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 112
iOS 15.6
Tablet
one year ago
Test name Executions per second
typeof x === "undefined" 14431740.0 Ops/sec
x === undefined 5395422.5 Ops/sec
x == undefined 5355203.5 Ops/sec
x == null 14574359.0 Ops/sec
Script Preparation code:
Tests:
  • typeof x === "undefined"

  • x === undefined

  • x == undefined

  • x == null


;