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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to iterate over a string by code points instead of characters?

A

One way is via a for-of loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly