mirror of
https://github.com/CPunch/Cosmo.git
synced 2026-03-20 10:20:04 +00:00
minor refactoring, added inc and dec operators
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
-- crafts a dummy class
|
||||
// crafts a dummy class
|
||||
class test end
|
||||
|
||||
-- instance of test
|
||||
// instance of test
|
||||
var obj = test()
|
||||
|
||||
test.__index = function(self, key)
|
||||
@@ -11,4 +11,4 @@ test.__index = function(self, key)
|
||||
end
|
||||
end
|
||||
|
||||
print(obj["lol"]) -- should print 9001?
|
||||
print(obj["lol"]) // should print 9001?
|
||||
Reference in New Issue
Block a user