In python:
a + b
means
a.__add__(b)
which means there are operator methods which actually execute the operations on behalf of the operator sign.
Is there anything similar in Javascript? or any info about the mechanics of an aritmetic operation? I am not looking for solutions using functions like:
function add(a, b) {...}
I think it has to do with the properties of the numbers and corresponding variables.
for (x of y)means, but not + or most other things like it.