标签:
<script> //递归 function test(n) { if (n == 1) { return 1 } console.log(n) return n * test(n - 1) } console.log(test(3)) </script>
js 递归
原文地址:http://www.cnblogs.com/liujin0505/p/4231289.html