3 ms·
This language feature (at a fundamental level) is called "operator overloading", which is present in a lot of languages (more often in OO languages). https://e
by Retr0spectrum 8y ago
This language feature (at a fundamental level) is called "operator overloading", which is present in a lot of languages (more often in OO languages).
https://en.wikipedia.org/wiki/Operator_overloading https://en.wikipedia.org/wiki/Operator_overloading
- fenwick67 8y agoJavascript doesn't support operator overloading, I think the code in the examples is just pseudocode.