Combine an Array into a String Using the join Method - Functional Programming - Free Code Camp

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Thank you so much Mr. Ian your are fantastic function sentensify(str) {
let disectedResult = str.split(/\W/);
console.log(disectedResult);
let joinedResult = disectedResult.join(" ");
console.log(joinedResult);
return joinedResult;
}
console.log(sentensify("There, has, been, an, awakening"));

zken