Ah, true. Cool, thanks.

On Aug 20, 2014, at 15:23 , Rick Waldron <[email protected]> wrote:

> 
> 
> 
> On Wed, Aug 20, 2014 at 8:52 AM, Axel Rauschmayer <[email protected]> wrote:
> Currently there seem to be two ways to create promises. Normal classes throw 
> an exception if you call them as functions (without `new`). Should `Promise` 
> do the same?
> 
> They already do: 
> https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise Steps 1-4.
> 
> Rick
> 

-- 
Dr. Axel Rauschmayer
[email protected]
rauschma.de



_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to