Comment by kungtotte
11 years ago
I think it's because you never know what you're going to get with JS variables, and from what I've seen there's a strong tendency towards trying to fix or squash input errors to an insane degree within the JS culture.
Just let it crash if the user is trying to leftpad a boolean, for crying out loud.
No comments yet
Contribute on Hacker News ↗