Closed shehlayesha closed 2 years ago
The code for Fibonacci series is written in JavaScript. The number of terms in the series is initialized. The first and second terms are also initialized as 0 and 1 respectively. The swap logic is applied to proceed further.
The code for Fibonacci series is written in JavaScript. The number of terms in the series is initialized. The first and second terms are also initialized as 0 and 1 respectively. The swap logic is applied to proceed further.