37

The single cuntiest error I ever had in one sentence:

Cannot read property 'undefined' of undefined.

Comments
  • 3
    That happens when you do something like object.myUndefinedProp[ returnsUndefined() ]
  • 1
    I had an evil idea for a unit / none / nil type where any operation/access you perform on it returns none / nil, so it spreads silently like a virus
  • 2
    It makes perfect sense. How else would you word an error where you're trying to reference a second level object when both levels don't exist?
  • 0
    It is a legit error. Reading a property of a null variable
Add Comment