Immutable Strings

When we have string variables in Lua and Javacript they are implemented as “immutable strings”. This means that a string is never modified - if we ‘modify’ a string - we really copying it and making a new one.

https://stackoverflow.com/questions/8798403/string-is-immutable-what-exactly-is-the-meaning