From 4f9cb04822af22305affe33912e9c1682cae397f Mon Sep 17 00:00:00 2001 From: Boof <97455552+hexahigh@users.noreply.github.com> Date: Fri, 28 Apr 2023 10:34:15 +0200 Subject: [PATCH] YAY --- 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 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) });