-
@superSGHP > Number("5 hello") NaN surely there is an underlying principle. surely its not just a pile of random shit we all depend on 🥲
-
@superSGHP i mean ok STRICTLY SPEAKING it could be said that a parse returns the first valid token from the input, meaning you *can* have garbage at the end and its fine. here's everyone's favorite lisp for instance.
-
@superSGHP and javascript does have the decency to give us > parseFloat("no thanks 12") NaN so, you know, make of that what you will