3 ms·
In Lua "3"+4 is an error. Concatenation is a different operator than add, specifically to avoid confusing coersions.
by JoshuaScholar 11y ago
In Lua "3"+4 is an error. Concatenation is a different operator than add, specifically to avoid confusing coersions.
- ggilles 11y agoTry it: Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio > ="3" + 4 7
- JoshuaScholar 11y agoAh. Well at least there isn't a confusion between add and concat "3"+4 is 7 4.."3" is "43" "3hello"+4 is an error