Glossary: Data Structures and Algorithms in JavaScript
Immutable
Can't be changed after it is made. Strings are immutable, so text += "more" builds a brand-new string.
Glossary: Data Structures and Algorithms in JavaScript
Can't be changed after it is made. Strings are immutable, so text += "more" builds a brand-new string.