From 4750bfee76b061e41222846a6882debf82efda6c Mon Sep 17 00:00:00 2001 From: Killer Boss Original <73131550+killerbossoriginal@users.noreply.github.com> Date: Tue, 24 Jan 2023 17:29:16 +0100 Subject: [PATCH] Update index.js --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 7946b26..eb0e87b 100644 --- a/index.js +++ b/index.js @@ -47,13 +47,13 @@ function cin (question, hide) { class createCout { constructor (debugLevel, logs) { + if (!debugLevel) debugLevel = 0; + if (!logs) logs = false; debug = debugLevel; logs1 = logs; - console.log(debug, logs1) } cout (string, debugLevel) { - console.log(debug, logs1) if (!debugLevel) debugLevel = 0; var time = getTime();