4 ms·
If you have already coerced the variable to be a string, then you can end up with with a null value becoming the string "null". E.g. the below statement evalua
by gmiller123456 8y ago
If you have already coerced the variable to be a string, then you can end up with with a null value becoming the string "null". E.g. the below statement evaluates to true:
new String(null)=="null"
And it used to be a lot easier to make that mistake like something with:
""+a
Which different browsers handled differently.