Courses / JavaScript
21. Array.prototype.join()
Joins all elements of an array into a string.
1 min read Chapter 21 of 99
JavaScript
Array.prototype.join()
Array.prototype.join() combines all elements of an array into a single string.
"I need to turn my array of words into a sentence."
Array.prototype.join() takes an array and concatenates its elements into a string, using a specified separator.
"I need to turn my array of words into a sentence."
Array.prototype.join() takes an array and concatenates its elements into a string, using a specified separator.