News for hackers. Stuff that matters.
Re:JSFuck (2012) by dorgo on Sunday September 26, 2021 @06:13AM (#28659704)
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.

There are no comments on this comment yet.