摘要:
在JavaScripot函数闭包的定义中,一般都有一个outer 函数,一个inner函数。那么“闭包”到底是指outer函数呢,还是指inner函数?
从官方定义来看,并不清楚:A closure is a combination of a code block and data of a context in which this code block is created. 阅读全文
posted @ 2014-08-26 15:08
Yang_Lian
阅读(910)
评论(3)
推荐(0)

浙公网安备 33010602011771号