delete a letter from a string 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
*/