Reputation: 2766
ECMA Script already have a difinition about Promise, so is there a reason that Promise/A+ exits?
Upvotes: 3
Views: 186
Reputation: 138367
Its actually the other way round. The Promise/A+ spec was written first and then implemented in JS using bluebird and other libraries. Then the authors of the ECMA spec saw a need to natively support it, and added it to the ES 6 spec. There is no real difference between them as the ES spec follows the A+ spec. source
Upvotes: 4