Edit in JSFiddle

const str = "abc";
str.myNewProperty = "some value";

alert(str.myNewProperty);