DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
parseint array javascript
var arr = ['1','2','3']; arr = arr.map(x => parseInt(x)); console.log(arr); //Array(3) [ 1, 2, 3 ]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#parseint
#array
#javascript
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit