Answers for "javascript remove first character from array list"

0

javascript remove first character from array list

var x = ["X2019","X2020","X2021","X2022"];

var y = x.map(s => s.slice(1));

console.log(y);
Posted by: Guest on October-03-2021

Code answers related to "javascript remove first character from array list"

Code answers related to "Javascript"

Browse Popular Code Answers by Language