Fixing `Promise.resolve()`

C. Scott Ananian ecmascript at
Wed Jun 10 16:16:46 UTC 2015

On Wed, Jun 10, 2015 at 11:46 AM, Domenic Denicola <d at> wrote:

>  Regardless of whether or not you agree, that was the original motivation
> for its introduction.
> says:

> ES6 final tweaks #8: Smalltalk-like species pattern used in Array methods,
> etc. to determine constructor for derived objects. discusses species in the context of
`Array.prototype` methods.
And says:

> Allen Wirfs-Brock: Smalltalk uses an abstract above that has a species
> property to determine what to create.

That's all I know of it.  I wasn't there, obviously, and you were.  But
this is the first I've ever heard of using @@species for constructor
signature modification.  It's hard to reconstruct reasoning from meeting
notes and tweets.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list