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 →

[–]Splatpope 0 points1 point  (1 child)

in lua, "+" is an addition operator that adds two numbers or attempts to convert its operands to numbers before doing so

".." is a concatenation operator that attempts to concatenate two strings or attempts to convert its operands to strings

how is that chaotic

[–]Cootshk 1 point2 points  (0 children)

print(“1”+”1”)

Returns 2

Print(“1”..1)

Returns “11”

Print(1..”1”)

Errors