Promise() vs. new Promise()

Axel Rauschmayer axel at
Wed Aug 20 05:52:27 PDT 2014

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?


Dr. Axel Rauschmayer
axel at

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

More information about the es-discuss mailing list