Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
undefined vs typeof vs !!
undefined vs typeof vs !!
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Browser:
Chrome 130
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
strict
8880571.0 Ops/sec
typeof
16618441.0 Ops/sec
!!
16881138.0 Ops/sec
void 0;
17024472.0 Ops/sec
Script Preparation code:
var value;
Tests:
strict
value !== undefined
typeof
typeof value !== "undefined"
!!
!!value
void 0;
value !== void 0;