JavaScript:实现Fibonacci斐波那契算法 const FibonacciIterative = (num) => { const isNeg = num < 0 if (isNeg) num *=