Re: Cancelling instantiation
This is incorrect, JS does not support protected members.
George Jempty <fleetwoodd@bel lsouth.net> wrote in message news:<mO_0c.148 5$JN2.1140@bign ews4.bellsouth. net>...[color=blue]
> <snip>
>[color=green]
> > By the way, it's not possible to have protected[1] members in
> > JavaScript, is it? Shame...[/color]
>
> No, this is one of the great fallacies about Javascript. Javascript
> supports closures and therefore supports protected/private members. See:
>
> http://www.crockford.com/javascript/private.html[/color]
This is incorrect, JS does not support protected members.
George Jempty <fleetwoodd@bel lsouth.net> wrote in message news:<mO_0c.148 5$JN2.1140@bign ews4.bellsouth. net>...[color=blue]
> <snip>
>[color=green]
> > By the way, it's not possible to have protected[1] members in
> > JavaScript, is it? Shame...[/color]
>
> No, this is one of the great fallacies about Javascript. Javascript
> supports closures and therefore supports protected/private members. See:
>
> http://www.crockford.com/javascript/private.html[/color]
Comment