JavaScript:实现使用递归查找阶乘的函数算法
/**
* @function Factorial
* @description function to find factorial using recursion.
* @param {Integer} n - The input integer
* @return {Integer} - Factorial of n.
* @example 5! = 1*2*3*4*5 = 120
* @example 2! = 1*2 = 2
*/
const factorial = (n) => {
if