What's the difference between Promise/A+ specification and ECMA spec's Promise section?

Viewed 115

ECMA Script already have a difinition about Promise, so is there a reason that Promise/A+ exits?

1 Answers

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

Related