Creating a String from an Array
Problem
You want to create a string from an array.
Solution
Use JavaScript’s Array toString() method:
Discussion
toString()
is a standard JavaScript method. Don’t forget the parentheses.
You want to create a string from an array.
Use JavaScript’s Array toString() method:
toString()
is a standard JavaScript method. Don’t forget the parentheses.