Difference between ES6 and Promise/A+ specifications
为情所困
为情所困 2017-05-19 10:36:39
0
1
569

Mainly the difference between then methods

A is relatively easy to read. I still don’t understand the es6 specification about then. It seems that the return value of the callback function is not classified and processed

This is just one of the doubts. Is there any pioneer who can explain the comprehensive differences in detail?

为情所困
为情所困

reply all(1)
左手右手慢动作

I don’t quite understand what the poster wants to ask

I understand yes

Promise/A+ is one of the specifications of Promise, and for specific use, browsers, node, and JS libraries need to implement corresponding functions according to this specification.

ES6’s Promise is an implementation of the Promise/A+ specification, and some additional simple methods such as Promise.all and Promise.race are added based on the specification implementation

Similarly, existing JS libraries such as es6-promise,bluebrid also implement the Promise/A+ specification

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!