> > With 'new.target' that complexity all goes away and I see no particularly > reason to discourage constructors that 'new' themselves when called as > functions. >
Do you think that's what the new built-in constructors (Map, Set, etc.) should do, then? (Act as factories when called).
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

