摘要: const arr = [500, 100] function sleep() { return new Promise((resolve => { setTimeout(resolve, 100) })) } async function next() { console.log(arr.leng 阅读全文
posted @ 2022-02-11 11:04 铜须的编程生活 阅读(30) 评论(0) 推荐(0)
摘要: function sendPost(callback) { callback(); } const manager = { counter: 1, increase() { function onSuccess() { console.log(this); } this.counter++ send 阅读全文
posted @ 2022-02-11 10:27 铜须的编程生活 阅读(28) 评论(0) 推荐(0)