Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
typeof undefined vs undefined equality check vs double-equal
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/115.0
Browser:
Firefox 115
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
equality
5584100.0 Ops/sec
typeof
5586317.5 Ops/sec
double-equal
5638271.5 Ops/sec
Script Preparation code:
window.obj = undefined
Tests:
equality
window.obj === undefined
typeof
typeof window.obj === 'undefined'
double-equal
window.obj == undefined