1 article has "one-liner" tag
- 1
Find out Fibonacci sequence in JavaScript with one line of code
Read moreFibonacci sequence is very easy to think of. The first two terms are $0$ and $1$ respectively. And any later term is the sum of previous two terms. So it grows like below: