摘要:
function myTimeout(ms,name){ return new Promise( (resolve,reject) => void setTimeout(resolve,ms,'hello ' + name) ); } //then的链式调用 myTimeout(1000,'Diana').then( (receive) => { console.log(receive); ret 阅读全文
posted @ 2019-10-10 16:17
lee_oy
阅读(134)
评论(0)
推荐(0)

浙公网安备 33010602011771号