1let str = "12345.00";
2str = str.substring(0, str.length - 1);
3console.log(str);
1var animal = "cow";
2var str=`The ${animal} jumped over the moon`; // string interpolation
1//Regular string
2var rgb = "rgb(" + r + "," + g + "," + b + ")";
3//Template literal
4var rgb = `rgb(${r}, ${g}, ${b})`;
1let x = 5;
2console.log("hello world " + x + " times");
3console.log(`hello world ${x} times`);
4