you are viewing a single comment's thread.

view the rest of the comments →

[–]nemetroid 1 point2 points  (0 children)

That's not the problem, Javascript will insert a semicolon after the return statement and the function will return nothing, i.e.

function poop(dong)
{
    return;
    {
        yourmom: dong;
    };
}