By using the 'join' method, you are able to convert an Array into a String, formatted the way you like. This is done using a separator and it is common to see the elements comma separated.
In this video we look at providing your own custom separator and also touching on the default separator, the comma.
For your reference:
https://developer.mozilla.org/en-US/d...
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Auf dieser Seite können Sie das Online-Video Array 'join' method in Javascript (Array.prototype.join) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer dcode 26 Dezember 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,906 Mal angesehen und es wurde von 80 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!