JavaScript Usuń pierwszy znak z listy tablic
var x = ["X2019","X2020","X2021","X2022"];
var y = x.map(s => s.slice(1));
console.log(y);
Borma
var x = ["X2019","X2020","X2021","X2022"];
var y = x.map(s => s.slice(1));
console.log(y);