Promise
Learning Promise by actually implementing it.
Study
Just need to read promise.js
, which contains verbose comments.
Test
npm i
npm test
Reference
剖析Promise内部结构 -- Article for Promise
Promise3 -- source code
promises/A+ -- The standard
promises-tests -- The test