On Jan 19, 2015, at 10:43 AM, Kevin Smith wrote: > 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).
They're currently spec'ed to throw. I wouldn't change that for ES6. It could change in the future. allen
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

