摘要: 看了一片文章https://ruby-china.org/topics/38385讲closure的。 写下一些感想: 闭包就是 一个函数能够记住和存取它的lexical作用域,即使这个函数是在它的lexical作用域的外面执行。 当一个函数被写出来时,这个函数的closure就已经确定了。 jav 阅读全文
posted @ 2019-08-31 11:46 Mr-chen 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 参考: https://www.jianshu.com/p/33392cb4b055 https://ruby-china.org/topics/38385 https://stackoverflow.com/questions/36314/what-is-currying 简单的javascrip 阅读全文
posted @ 2019-08-31 10:47 Mr-chen 阅读(228) 评论(0) 推荐(0) 编辑