Message from JavaScript discussions

December 2020

— For folks who wants to know spread and rest operator differences


Thanks David. However am looking for a js code that would take any value passed(as distance) and calculate the number of days the snail would take to cover that distance

— Something of the sort

— Well. You solved it all on your own?

— They solved it wrong, if I correctly understand the problem

— It's not working well for all numbers

— Exactly😞😞

— You forgot the depth of the well

— Ah wait. That's the stdin

— Hmm. You could solve this with a recursive function

— That'd be my solution

— But that really looks like an assignment designed to be for your level