各位前輩好,小弟這兩天試著利用loop去寫出費柏納契數列function (0,1,1,2,3,5,8,…),寫出了如下代碼: function fib(n) { let arr = [0, 1]; ...
確定! 回上一頁