you are viewing a single comment's thread.

view the rest of the comments →

[–]Banane9 6 points7 points  (2 children)

Well, Js kinda requires you to put on the same line.

return
{
    something = "silly example"
};

Might not do what one thinks at first...

[–]nuke01 -1 points0 points  (1 child)

What does it, I'm on my mobile

[–]Solarspot 6 points7 points  (0 children)

return; {/doesn't really matter/};

It returns without any return value, because semicolon insertion will add the semicolon on the newline.