##promise 相关知识 转载自http://mp.weixin.qq.com/s/IIWDLZAdN-qJp7crlRZZxg 1.Promise的立即执行性 ``` var p = new Promise(function(resolve, reject){ console.log('create a promise'); resolve('success');

- 阅读全文 -