string immutable javascript

JavaScript
var statement = "I am an immutable value";
var otherStr = statement.slice(8, 17);
Source

Also in JavaScript: