Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-6, 1.0-beta-7, 1.0-beta-8, 1.0-beta-9, 1.0-beta-10, 1.0-JSR-1, 1.0-JSR-2, 1.0-JSR-3
-
None
Description
This failed:
i = new Integer(0) // no ;
{ i = 2 }() // or }.call()
this worked:
i = new Integer(0); // ;
{
i = 2
}()
BTW, I love to use
{...}() whenever I can.