method to remove last thing on a string javascript code example
Example: javascript remove last character from string
let str = "12345.00";
str = str.slice(0, -1);
console.log(str);
let str = "12345.00";
str = str.slice(0, -1);
console.log(str);