Strings 20 Flashcards
1
Q
Strings are immutable. What does this mean?
A
Any operation produced on a string always returns a new string and never changes existing strings.
2
Q
How to iterate over a string by code points instead of characters?
A
One way is via a for-of loop