The toLocaleString()
method of TypedArray
instances returns a string representing the elements of the typed array. The elements are converted to strings using their toLocaleString
methods and these strings are separated by a locale-specific string (such as a comma ","). This method has the same algorithm as Array.prototype.toLocaleString()
.