From d6472ae264aaf448f214bff2828ef99f81c7ae79 Mon Sep 17 00:00:00 2001 From: "deepsource-dev-autofix[bot]" <61578317+deepsource-dev-autofix[bot]@users.noreply.github.com> Date: Thu, 3 Aug 2023 06:50:50 +0000 Subject: [PATCH] refactor: remove debugger statements The `debugger` statement is used to tell the JavaScript environment to stop execution and start up a debugger at the current point in the code. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 58ccb924..3bb8d9d2 100644 --- a/index.js +++ b/index.js @@ -16,7 +16,7 @@ function isNumber(num) { } function isTruthy(x) { - debugger; + return Boolean(x); }