[Project_owners] Mixing conditional operators and new Boolean

Jesper Staun Hansen jesper at selvet.dk
Tue Feb 19 15:10:06 PST 2008


Hello.

I was just wondering if this would even work for all:
var Private = (!Clan && !Group && !Admin)? new Boolean(true) : new 
Boolean(false);

Would the new Boolean(true) be passed to Private or would I error by 
design here?
Does it work for all new something.



More information about the Project_owners mailing list