We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9701d68 commit ea1d01bCopy full SHA for ea1d01b
1 file changed
src/math/Factorial.js
@@ -5,14 +5,14 @@
5
*/
6
7
/**
8
- * [description]
+ * Calculates the factorial of a given number for integer values greater than 0.
9
*
10
* @function Phaser.Math.Factorial
11
* @since 3.0.0
12
13
- * @param {number} value - [description]
+ * @param {number} value - A positive integer to calculate the factorial of.
14
15
- * @return {number} [description]
+ * @return {number} The factorial of the given number.
16
17
var Factorial = function (value)
18
{
0 commit comments