Function Constructors as a type?

Kris Zyp kriszyp at
Tue Jun 26 13:51:37 PDT 2007

Is it possible to use a function constructor as a type? For example:
function F() {}
var f : F = new F;
I assume this is not allowed, although I would think it would be nice if it
were allowed, but I can't seem to find anywhere in the spec where this is
explicitly stated and the current reference implementation goes into an
infinite loop when this is executing, I assume that is not the intended
behavior :).
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Es4-discuss mailing list