3 ms·
You can change this to be more like Objective-C: debug.setmetatable(nil, {__call = function() return nil end, __index = function() return nil end}) f =
by anonymoushn 13y ago
You can change this to be more like Objective-C:
debug.setmetatable(nil, {__call = function() return nil end, __index = function() return nil end})
f = nil
print(f(f.bar.baz)()()()) -- nil
This seems like an especially awful idea to me, though.