Multiple choice

The ________ method of JavaScript Array converts all elements to strings and concatenates them, separated by commas.

  1. arraylength()

  2. array.reverse()

  3. array.sort()

  4. array.join()

  5. array.push()

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This method of JavaScript Array converts all elements to strings and concatenates them, separated by commas.