Just for test, I had to test this too: console.log( parseFloat("foo") + parseFloat(3))
NaN

I found that +( ) syntax on stackoverflow while hating on the + operator in JS. :)