斐波那契数列
1,1,2,3,5,8,13,21,33,54,….
function getNum(num) {
var num1 = 1;
var num2 = 1;
for(var i=2; i
版权声明:本文为Sun_36原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
斐波那契数列
1,1,2,3,5,8,13,21,33,54,….
function getNum(num) {
var num1 = 1;
var num2 = 1;
for(var i=2; i