From 6f448cd530cf38d2550aa83c5dc447a9a2d553b0 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 4 May 2020 21:44:31 +0200 Subject: [PATCH] factorial.js: /* global prompt */ --- maths/factorial.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maths/factorial.js b/maths/factorial.js index 211a5c741..647a3e225 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 prompt */ var num = prompt('Enter a number: ') console.log(calcFactorial(num))