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))