阶乘:从1到这个数自身的乘积.
1的阶乘还是1.
<script>
var product = 1;
for(var i = 1; i <= 100; i++){
product = product * i;
}
console.log(product);
</script>
阶乘:从1到这个数自身的乘积.
1的阶乘还是1.
<script>
var product = 1;
for(var i = 1; i <= 100; i++){
product = product * i;
}
console.log(product);
</script>