Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

What's he difference between class and THIS?

edited January 2015 in Questions Posts: 100

Alright so here's what I'm wondering, what's the difference between class and this:

function classFake()
local Class = {}
return setmetatable(Class, {
__call = function(...)
Class:init(...)
end
})
end

Comments

Sign In or Register to comment.