javascript arrray to string code example
Example 1: js array to string
var myArray = ['no','u'];
var myString = myArray.toString();
Example 2: javascript print array
var arr = [1,2,4,5]
console.log(...arr) //Spreading operator in JS
var myArray = ['no','u'];
var myString = myArray.toString();
var arr = [1,2,4,5]
console.log(...arr) //Spreading operator in JS