|
|
|
|
|
by colordrops
1721 days ago
|
|
"+" isn't some singular operator. They are different operators for different types using the same character. You'd have to memorize a table of all JS types and what "+" does for each, which is silly considering that the only place it should really be used in modern JS is arithmetic and the occasional string concatenation. |
|
Edit: Wait, there is also the unary + which takes only one argument, but it also could be considered arithmetic.