remove the first character of a string js 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
*/