摘要: 我们先看一个闭包的例子: 大家肯定都写过类似的代码,相信很多小伙伴也知道这段代码应用了闭包,but, Why does the closure be generated and Where is closure? 来,我们慢慢分析: 首先必须先知道闭包是什么,才能分析出闭包为什么产生和闭包到底在哪? 阅读全文
posted @ 2018-04-12 21:39 朱大大 阅读(245) 评论(0) 推荐(1) 编辑