remove characters strings in object 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
*/