javascript trim first carackters code example
Example: trim first character in 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
*/