摘要: 1 function cook() { 2 console.log('开始做饭。'); 3 var p = new Promise(function (resolve, reject) { 4 setTimeout(function () { 5 console.log('做饭完毕!'); 6 re 阅读全文
posted @ 2020-05-03 23:41 Walker游游 阅读(212) 评论(0) 推荐(0) 编辑