Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
overwrite string vs null vs const two
(version: 0)
Comparing performance of:
isUndefined vs isN
Created:
7 years ago
by:
Guest
Jump to the latest result
Tests:
isUndefined
var foo = undefined; foo = "FOO";
isN
var foo = null; foo = "FOO";
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
isUndefined
isN
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:
Template strings vs. String.concat
number to string: template literal vs toString vs string literal concat vs string constructor
Concatenation vs Template String
number to string: template literal vs toString vs string literal concat vs string constructor(2)
Comments
Confirm delete:
Do you really want to delete benchmark?