discard first part of string javascirpt 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
*/