delete a letter from beggining of string in javascript 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
*/