JavaScript wycinaj każdy element w tablicy

//trim each element in array
array.map(string => string.trim());
Web Surfer