From 61d91efe9edb5042e82887cb04808d3b2ece9104 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 4 May 2020 16:30:23 +0200 Subject: [PATCH] /* global alert, prompt */ --- maths/factorial.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maths/factorial.js b/maths/factorial.js index 7130de52c..febc5c0c4 100644 --- a/maths/factorial.js +++ b/maths/factorial.js @@ -48,6 +48,6 @@ function calcFactorial (num) { } // Run `factorial` Function to find average of a list of numbers. -// global alert, prompt +/* global alert, prompt */ var num = prompt('Enter a number: ') alert(calcFactorial(num))