There was an error while loading. Please reload this page.
1 parent fb18810 commit 6f448cdCopy full SHA for 6f448cd
maths/factorial.js
@@ -48,6 +48,6 @@ function calcFactorial (num) {
48
}
49
50
// Run `factorial` Function to find average of a list of numbers.
51
-/* global alert, prompt */
+/* global prompt */
52
var num = prompt('Enter a number: ')
53
console.log(calcFactorial(num))
0 commit comments