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!
На этой странице сайта вы можете посмотреть видео онлайн Array 'join' method in Javascript (Array.prototype.join) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь dcode 26 Декабрь 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 4,906 раз и оно понравилось 80 зрителям. Приятного просмотра!