Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js convert number array to string array

/* You can use map and pass the String constructor as a function, 
	which will turn each number into a string: */
sphValues.map(String) //=> ['1','2','3','4','5']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #convert #number #array #string #array
ADD COMMENT
Topic
Name
9+2 =