Javascript Fibonacci Sequence generator not working properly

前端 未结 0 1572
没有蜡笔的小新
没有蜡笔的小新 2021-01-13 06:36

Can anyone explain why I keep getting nan instead of the next number in the fibonacci sequence? I\'ve found others that work, but I need this to output as an array.



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题