advantages symbol method
Answers
Answered by
0
Answer:
The advantage of symbols is that they are immutable (can't be changed at runtime), and sometimes that's exactly what you want. Sometimes that's exactly what you don't want. Most usage of strings requires manipulation – something you can't do (at least directly) with symbols.
Similar questions