var str = \"This is a string\"; var thing = str.replace(\"string\",\"thing\"); console.log( str ) >> \"This is a string\" console.log( thing ) >> \"Th
No, strings in JavaScript are immutable.