We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61d91ef commit 4d856f8Copy full SHA for 4d856f8
maths/factorial.js
@@ -50,4 +50,4 @@ function calcFactorial (num) {
50
// Run `factorial` Function to find average of a list of numbers.
51
/* global alert, prompt */
52
var num = prompt('Enter a number: ')
53
-alert(calcFactorial(num))
+console.log(calcFactorial(num))
0 commit comments