Anyone know if there are any differences between these? and if I should pick and choose each for certain scenarios?
E.G 1
local module = {
Function = function()
print("Does this matter?")
end
}
return module
E.G 2 (Function outside table v1)
local module = {}
function module.Function()
print("Does this matter?")
end
return module
E.G 2.5 (Function outside table v2)
local module = {}
module.Function = function()
print("Does this matter?")
end
return module
E.G 3 (Function outside table v3)
local module = {}
module:Function = function()
print("Does this matter?")
end
return module
** You are now Level 1! **