From bff36dac77b8d774dd37319fde9a7bba970cbd84 Mon Sep 17 00:00:00 2001 From: Boof <97455552+hexahigh@users.noreply.github.com> Date: Fri, 28 Apr 2023 10:30:11 +0200 Subject: [PATCH] fix? --- other/urls to array/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) });