diff --git a/other/urls to array/index.js b/other/urls to array/index.js index ebbe0e6..7c82030 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) });