how are js strings immutable code example
Example: string immutable javascript
var statement = "I am an immutable value";
var otherStr = statement.slice(8, 17);
var statement = "I am an immutable value";
var otherStr = statement.slice(8, 17);