573
Surely "1337" is the same as 1337, right?
(sopuli.xyz)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
It's the API's job to validate it either way. As it does that job, it may as well parse the string as an integer.
Or even funnier: It gets parsed in octal, which does yield a valid zip code. Good luck finding that.
Who tf decided that a 0 prefix means base 8 in the first place? If a time machine was invented somehow I'm going to cap that man, after the guy that created JavaScript.
Should be like
0o777
to mimic hex0xFF