摘要: 上一节的闭包是为了解释如何使用闭包而人为地在结构上进行修饰,在昨天的闭包基础上,我们可以更加灵活的使用闭包 function wait(message){ setTimeout(function timer(){ console.log(message) }, 1000) } wait('hello 阅读全文
posted @ 2020-02-25 06:34 wzndkj 阅读(181) 评论(0) 推荐(0) 编辑