本质上,lua 取消了原有意义上的environment 。 ... function foobar(env) local _ENV = env return function() ... end end. 而以前大约是这样:
確定! 回上一頁