On Oct 28, 2007, at 5:45 AM, David Teller wrote:

>    Hi list,
>
>  After reading the Outline document, I find myself wondering if  
> there's
> a way to provide a type without any method for the user to manually
> create an inhabitant of that type ?

A class with a private constructor. See http://bugs.ecmascript.org/ 
ticket/166.

>  From the Outline, operator "as"

No such operator -- did you mean "cast"?

/be

_______________________________________________
Es4-discuss mailing list
Es4-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to