diff --git a/other/urls to array/index.js b/other/urls to array/index.js index 8ba9664..ebbe0e6 100644 --- a/other/urls to array/index.js +++ b/other/urls to array/index.js @@ -9,7 +9,7 @@ processButton.addEventListener("click", function () { inputText = textInput.value; lines = inputText.split(/[\n\r]+/); console.log(lines); - modifiedArr = lines.map(i => '"' + i + '",'); + modifiedArr = lines.map(i => '"' + i + '" '); console.log(modifiedArr) });