Methods vs functions: hidden self argument
🌙 Lua•Updated 2 days ago•0 views
Same functionality - the only difference is syntax: methods (defined with ':') get a hidden self argument passed as first parameter.
What's the difference between lua functions and methods
Same functionality - the only difference is syntax: methods (defined with ':') get a hidden self argument passed as first parameter.