Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trampoline #98

Closed
Djabx opened this issue May 29, 2015 · 1 comment
Closed

Trampoline #98

Djabx opened this issue May 29, 2015 · 1 comment

Comments

@Djabx
Copy link

Djabx commented May 29, 2015

Hy,

First: thank you for this good tuto.
I was doing the 14th question and answer with this:
https://github.com/Djabx/tuto_functionnal-js/blob/master/14.js

Your solution is this:
https://github.com/Djabx/tuto_functionnal-js/blob/master/14.js

Obviously I missed the trick.

What was not said nor that I understand it, was the "RangeError" does not seems to be an exception that interrupt the process; it's just return do not call the function, so we can grab the result and just recall it.

Tell me if I'm wrong, or if I miss something, but I think you should explain that in the "hints" section.

Tks.

@RichardIvan
Copy link

Exactly, I'd really want some sort of description behind why the code works the way it does.

@Djabx Djabx closed this as completed Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants