devRant on iOS & Android lets you do all the things like
++ or -- rants, post your own rants and comment on others' rants. You can also set
up your profile. Get it now!
Free Swag!
Get free laptop stickers if a rant you post gets 30 ++'s and a stress ball at 750 ++'s
In order to vote, comment or post rants, you need to confirm your email address.
You should have received a welcome email with a confirm link when you signed up. If you can't find the email, click the button below.
This is the most wtf thing that happened me with Javascript, I had a regular expression and it caused bugs only with 4 digits long words, then I just noticed this:
Well, fork is actually pretty well designed, but crappy for soup eating. Same goes to function that expects string, but null was passed instead. I can't quite understand why did you think it will work properly with wrong parameter type?
This is the most wtf thing that happened me with Javascript, I had a regular expression and it caused bugs only with 4 digits long words, then I just noticed this:
/^.{3}$/.test(null) // false
/^.{4}$/.test(null) // true
What the fuck, I can't believe that who designed the .test method didn't think to avoid null coercion
rant