Are JavaScript strings immutable?

Channel:
Subscribers:
53,800
Published on ● Video Link: https://www.youtube.com/watch?v=qlGssMyBf0U



Duration: 0:38
42 views
1


Are JavaScript strings immutable?
Sep 9, 2008

Strings are immutable – they cannot change, we can only ever make new strings. The string type value is immutable, but the String object, which is created by using the String() constructor, is mutable, because it is an object and you can add new properties to it. In conclusion, 1.


··········

“Be competent, be more skilful than others. Here you will find the answer to all of your questions.”

✋ The purpose of our channel is to create EDUCATIONAL content. That was our intention with this video as well. We would like to give you COMPLETE INFORMATION on the subject, so unfortunately we can also discuss elements that may be hurtful to people.







Tags:
Are JavaScript strings immutable?
frequently asked question
question and answer
answer