摘要: var p1 = new Promise(function(resolve,reject){ setTimeout(function(){ console.log('1'); resolve() },3000) }) function p2(){ return new Promise(function(resolve,reject){ setTimeout(function(){ console... 阅读全文
posted @ 2018-10-23 09:23 格尔尼卡ぃ 阅读(566) 评论(0) 推荐(0) 编辑