Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Home
github-actions[bot] edited this page Aug 21, 2024
·
6 revisions
place where you can learn about all the stuff in classjs
localclass, new=require("classjs")("class", "new");
localExample=class"Example" {
constructor=function(self, name)
self.Name=name;
end,
Test=function(self)
returnstring.lower(self.Name) end,
Type=1
};
print(Example); -- [class Example]localpim=new"Example"("pim");
print(pim.Name); -- "pim"print(pim.Type); -- 1