On 4/10/08, Jon Zeppieri <[EMAIL PROTECTED]> wrote:
>
> var o = { null var count = 100, ... };
Sorry: two syntactic mistakes, here, one of which is interesting.
The boring one is my use of '=' rather than ':'.
But after reading the object initializer draft, I see that, if the
intent of the above were legal, the syntax would be:
var o = { var null::count: 100 };
Is it still the case that instance variables in classes are defined like:
public var count = ...
If so, why the difference (discounting the colon/equal part, that is)?
-Jon
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss