Is function(){}() valid? : <p>In a Javascript programming community, someone asked "How to declare anonymous method and run it immediately?" then others answered <code>(function(){})()</code> and <code>(function(){}())</code>.<br>
People who answered <code>(function(){}())</code> says that is correct and it's possible to run, but ideone says that is wrong and I think that is incorrect.<br>
Following links are for comparison between SpiderMonkey and Rhino.<br>
<a href="http://ideone.com/rKaYtW" rel="nofollow noreferrer">http://ideone.com/rKaYtW</a><br>
<a href="http://ideone.com/Lblb7w" rel="nofollow noreferrer">http://ideone.com/Lblb7w</a>    </p>

<p>Is <code>(function(){}())</code> really correct on Javascript?</p>
