string js remove first char code example
Example: delete first character javascript
let str = 'Hello';
str = str.slice(1);
console.log(str);
/*
Output: ello
*/
let str = 'Hello';
str = str.slice(1);
console.log(str);
/*
Output: ello
*/