programming-examples/js/Array/Write a simple JavaScript program to join all elements of the following array into a string..js
2019-11-15 12:59:38 +01:00

4 lines
150 B
JavaScript

myColor = ["Red", "Green", "White", "Black"];
console.log(myColor.toString());
console.log(myColor.join());
console.log(myColor.join('+'));