TIL. That's exciting. I could see that causing some super subtle bugs.
-
-
In strict null mode (the correct mode) you can't pass null or undefined to parseInt
-
And for the JSON.stringify case? You can pass a string because it's the spec but most of the time you want an object.
-
I need a way to ensure i'm not passing a string by mistake. Signatures are spec, i just want to avoid mistakes.
-
Calling JSON.stringify on strings is actually very useful
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.