DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js convert string array to number array
const atrArr = ['7', '2', '5'] let numbersArr = strArr.map(c => +c); //[7, 2, 5]
PREVIOUS
NEXT
Tagged:
#js
#convert
#string
#array
#number
#array
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit