how to remove letters from a string in javascript code example
Example: remove first char javascript
let str = 'Hello';
str = str.substring(1);
console.log(str);
/*
Output: ello
*/
let str = 'Hello';
str = str.substring(1);
console.log(str);
/*
Output: ello
*/