From 1732dfad586ba17b9c9197164dbf379cb6e61e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D0=B0=D1=82=D1=8C=D1=8F=D0=BD=D0=B0=20=D0=90=D0=BD?= =?UTF-8?q?=D0=B4=D1=80=D0=B5=D0=B5=D0=B2=D0=B0?= Date: Wed, 18 Oct 2023 12:47:57 +0300 Subject: [PATCH] a --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 6f24c61..29a05e4 100644 --- a/index.js +++ b/index.js @@ -12,8 +12,7 @@ const game = (partGame, condition) => { if (answerUser === String(answerCorrect)) { console.log('Correct!'); } else { - console.log(`'${answerUser}' is wrong answer ;(. Correct answer was '${answerCorrect}'.`); - console.log(`Let's try again, ${userName}!`); + console.log(`'${answerUser}' is wrong answer ;(. Correct answer was '${answerCorrect}'.\nLet's try again, ${userName}!`); return; } }