created by Brian LeRoux & Andrew Lunny. sparodically uncurated by David Trejo.

2010 02 16 automagic semicolons

I’m certain that this will end all debate about where curly braces belong… right?

    function laugh()
    {
      return
      {
        haha: "ha!"
      };
    }
    laugh();
    // returns undefined
Fork me on GitHub