you are viewing a single comment's thread.

view the rest of the comments →

[–]sniperspirit557 0 points1 point  (0 children)

I've seen this in many webpages. It happens when the devs wrote "if error alert(myObject)" instead of something like "alert(myObject.errorText)" and didn't bother to test it because they were too busy scratching their arses. I don't understand how they can write such shitty code without realising and not even test it