cut first x caratere string js 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
*/