Tasmota/lib/libesp32/Berry/tests/overload.be

15 lines
182 B
Plaintext
Raw Normal View History

2021-04-12 18:53:35 +01:00
class test
def init()
self._a = 123
end
def +()
return self._a
end
def ()()
return self._a
end
var _a
end
print(test() + test())