4 ms·
afaik these two places ( arithmetic and string concatenation ) are the only ones where + operation is defined. JS picks one of these two operations and casts th
by dorgo 5y ago
afaik these two places ( arithmetic and string concatenation ) are the only ones where + operation is defined. JS picks one of these two operations and casts the operands accordingly.
Edit: Wait, there is also the unary + which takes only one argument, but it also could be considered arithmetic.