DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript convert in a string the items of an array
const arr = [1, 2, 'a', '1a']; const str = arr.toString(); console.log(str); //> "1,2,a,1a"
PREVIOUS
NEXT
Tagged:
#javascript
#convert
#string
#items
#array
ADD COMMENT
Topic
COMMENT
Name
4+7 =
Submit