Open ghost opened 8 years ago
Hello. I suggest alternative operator, that does not used in overloading.
c = a $[+] b; //Not overloadable operator, but this is plus
Also, how to overload assign operator?
Ah! ok so you mean when we need to do actual + in case its overloaded. I think we need a lexically correct JS syntax to mark it. Because we do not want base AST parser to fail.
+
Hello. I suggest alternative operator, that does not used in overloading.
Also, how to overload assign operator?