For example, this piece of code:
Number("") + Number("")
I expect to return "" (aka nothing) so I created this function
function addthese(x, y){
if (x != ""){
asdf = Number(x) + Number(y)
return Number(asdf)
} else {
return ""
}
}
But for some reason this function returns NaN
Any help will be appreciated