에 나는 .
를 통해하고하고있는 :
무엇 :
차이점. 과 : 루아
> x = {foo = function(a,b) return a end, bar = function(a,b) return b end, }
> return x.foo(3,4)
3
> return x.bar(3,4)
4
> return x:foo(3,4)
table: 0x10a120
> return x:bar(3,4)
3
을 통해 함수 호출의 차이에 대한 혼란 스러워요?
관련 항목 : http://stackoverflow.com/questions/3779671/why-cant-i-use-setunion-instead-of-set-union – finnw