摘要: show me the code function getPromise(cbk){ return (new Promise(cbk)); } getPromise(function (res,rej) { res("suc1") //只会执行一个,并把参数传递到catch或者then rej("e 阅读全文
posted @ 2022-08-11 12:16 指令跳动 阅读(33) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示