Share your repls and programming experiences

← Back to all posts
Fibonacci Calculator without iteration or recursion! #WEEKLY
h
minx28 (356)

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.

Commentshotnewtop
dabs364 (275)

your website is getting big isnt it?

minx28 (356)

@dabs364 it was getting big a while ago

minx28 (356)

@TheDrone7 uh wot, you scored it twice? niice that's double points for me then kthx

TheDrone7 (1335)

@minx28 you only get scored once. Might be an issue with my network it didn't show me my comment.

JosephSanthosh (1187)

It's not int the website!

minx28 (356)

@JosephSanthosh what? Please could you explain the problem?

JosephSanthosh (1187)

We can't see the challenge in your website! @minx28

minx28 (356)

@JosephSanthosh have you clicked the link in the post? If you can't be bothered to find it (though it's quite obvious), my submission can be found at https://minx.codes/weekly/17-fibonacci

JosephSanthosh (1187)

only weekly 16 is in there, no 17. @minx28

JosephSanthosh (1187)

Did you create your website with repl.it or github? @minx28

minx28 (356)

@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...

JosephSanthosh (1187)

oooooh, didnt see it. my bad. @minx28

JosephSanthosh (1187)

Then how did you add the domain? @minx28