Skip to content

Commit 61d91ef

Browse files
authored
/* global alert, prompt */
1 parent 84b06e7 commit 61d91ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/factorial.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ function calcFactorial (num) {
4848
}
4949

5050
// Run `factorial` Function to find average of a list of numbers.
51-
// global alert, prompt
51+
/* global alert, prompt */
5252
var num = prompt('Enter a number: ')
5353
alert(calcFactorial(num))

0 commit comments

Comments
 (0)