Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
undefined test
(version: 0)
Comparing performance of:
undefined vs typeof vs void 0
Created:
5 years ago
by:
Guest
Jump to the latest result
Script Preparation code:
var value = 2;
Tests:
undefined
value !== undefined
typeof
typeof value !== 'undefined'
void 0
value !== void 0
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
undefined
typeof
void 0
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
Compare is functions
'value === undefined' VS 'typeof value === "undefined"' when value is defined
'value === undefined' VS 'typeof value === "undefined"' when value is defined
type coercion
Comments
Confirm delete:
Do you really want to delete benchmark?