Created
December 17, 2021 10:50
-
-
Save anonymoustafa/ab455dadc76daf94a406b8049e600911 to your computer and use it in GitHub Desktop.
This gist is a nodeJS file that simply prints Fibonacci series to the 300th sentence. The point is, the whole job is organized within a FOR loop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for (let i = 0, j = 1, temp; | |
| j<300; | |
| temp = i, i = j, j = i + temp) | |
| {console.log(j);}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment