2
eeaglee
15d

Okay fine now enough is enough

Yes I declared and assigned the variable after calling the function and it's usage, and yes I copied it directly from a tutorial which had snippets everywhere, and yes I was blind and it took me 4 hours to find this bug, while eating chocolate but that's not important (c'mon I deserve a chocolate) and yes I found it immediately when I was posting a question about it on Stack Overflow.

But please JavaScript, why can't you do some magic find the variable in the whole script?

Comments
  • 2
    Careful, if you don't tell Stack Overflow that you're eating chocolate, they'll probably still demand to know what kinda and etc for no 'raisin'.
Add Comment