delete the end of a string javascript code example
Example: Remove character from end of string javascript
let str = "12345.00";
str = str.slice(0, -1);
console.log(str);
let str = "12345.00";
str = str.slice(0, -1);
console.log(str);