Published
- 1 min read
delete first character javascript
The solution for this is noted below
delete first character javascript
Solution
let str = 'Hello';
str = str.slice(1);
console.log(str);
/*
Output: ello
*/
Try other methods by searching on the site. That is if this doesn’t work