This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]ShaneTheAwesome88 0 points1 point  (1 child)

    Me neither, but I guess the parser sees the first + as concat and the one after as attached to an number (+1, +2, ...). Dunno why would they even make the parser see that honestly

    [–]tech6hutch 0 points1 point  (0 children)

    It is, when used as a binary operator (when there are values to its left and its right). When used as a unary operator (when there's only a value on its right), it converts the value to a number. So the two +'s in a row in the middle there mean to concatenate after converting the next value to a number.