Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript trim each element in array

//trim each element in array
array.map(string => string.trim());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #trim #element #array
ADD COMMENT
Topic
Name
7+8 =