Array.prototype.toLocaleString

Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.

Syntax

toLocaleString()

Return value

A string.