Promise() vs. new Promise()

Rick Waldron waldron.rick at
Wed Aug 20 06:23:37 PDT 2014

On Wed, Aug 20, 2014 at 8:52 AM, Axel Rauschmayer <axel at> 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: Steps 1-4.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list