You will find strange and weird code on this site that is “for fun” and not for use in production. Consider yourself warned 😉
If something is really bad I will point it out… so don’t worry too much about it 😀
I find knowing little tricks like this:
['x', 'y', 'z'][Math.floor(Math.random() * 3)]
…are great for speed coding and prototyping ideas.