🌈 搜索
📅  最后修改于: 2022-03-11 15:02:04.003000             🧑  作者: Mango
const factorial = (num) => { if (num <= 1) { return 1; } return num * factorial(num-1); }