From 3127d21afa0f89e8593364c43298876ad7030e3f Mon Sep 17 00:00:00 2001 From: kevinnls Date: Mon, 26 Aug 2024 12:41:15 +0530 Subject: [PATCH] compact code for unreadability --- main.mjs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/main.mjs b/main.mjs index 7ecc6c7..25a8e42 100644 --- a/main.mjs +++ b/main.mjs @@ -64,8 +64,4 @@ function getGrade(mark){ const grade = getGrade(argv[2]) console.log(grade) -function printdebug(text) { - if (DEBUG) { - console.error('DEBUG:',text) - } -} +function printdebug(text){ if (DEBUG)console.error('DEBUG:',text) }