手写promise
Primary LanguageJavaScript
详细的每一步过程都写在promise.js文件的commit里了。promise-class.js为class版本的实现
解读过程的博客JS异步编程:手写Promise