We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84b06e7 commit 61d91efCopy full SHA for 61d91ef
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 alert, prompt */
52
var num = prompt('Enter a number: ')
53
alert(calcFactorial(num))
0 commit comments