Axel Rauschmayer <mailto:[email protected]>
January 23, 2012 1:21 AM
I wouldn’t mix public and private, but it would be nice to have
symmetry – only having a `this` shortcut for private names feels odd.
How about the following?
function Point(everyone, secret) {
this.everyone = everyone;
this.@secret = secret;
}
//---- Short:
function Point(everyone, secret) {
.everyone = everyone;
You're requiring manual semicolon insertion before lines like this.
Consciously?
/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss