// replace() :- this method replace part of the string with the new substring
//it does not change the original string
// string.replace(oriSrt,newSrt);
let srt="better late than never";
console.log(srt);
let srt1=srt.replace("late","tomorrow");
console.log(srt1);