JavaScript recorta cada elemento en una matriz
//trim each element in array
array.map(string => string.trim());
Web Surfer
//trim each element in array
array.map(string => string.trim());