155

function undefined() { }

There we go. Now undefined IS a function. Damn you JavaScript errors.

Comments
  • 4
    Lmfao, made my day.
  • 0
    I'm not sure that'll work.
    However I suspect it's possible to do with prototyping.
    I'm no where near a JavaScript expert, so correct me if Im wrong :)
  • 0
  • 3
  • 2
    There's your problem, there's an undefined method in your "undefined"method... Fml
  • 0
    that would be paradoxically correct.
  • 3
    @lotd it's a joke based on the fact that one of the most common javascript errors is "undefined is not a function" when you try to access a undefined object 😂 obviously it won't work because undefined is a reserved keyword
  • 9
    return me;
  • 1
    @crisz i figured that, I was trying to extend on the joke.. :p

    Guess nobody caught me x)
  • 0
    Don't worry! Elm is taking over soon and then all your problems will be solved
Add Comment