Function to calculate the nth Fibonacci number without recursion or iteration - only 44 chars of JS! See it in action, and an explanation, here on my website! See source code here.
Please ignore the repl I have attached to this post as it is the entire repl for my personal website, which I have already shared in a different post. The source code link above points to a specific file within the repl.
Fibonacci Calculator without iteration or recursion! #WEEKLY
Function to calculate the nth Fibonacci number without recursion or iteration - only 44 chars of JS!
See it in action, and an explanation, here on my website!
See source code here.
Please ignore the repl I have attached to this post as it is the entire repl for my personal website, which I have already shared in a different post. The source code link above points to a specific file within the repl.
@JosephSanthosh I have now added a link on the Weekly Challenges page, but you could have just used the link I provided right here in the post...