Skip to content

Commit 6f448cd

Browse files
authored
factorial.js: /* global prompt */
1 parent fb18810 commit 6f448cd

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 prompt */
5252
var num = prompt('Enter a number: ')
5353
console.log(calcFactorial(num))

0 commit comments

Comments
 (0)