GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing javascript.info — Sum with an arbitrary amount of brackets back to the lesson Sum with an arbitrary amount of bracketsimportance: 2 Write function
P.S. Hint: you may need to setup custom object to primitive conversion for your function.
Now the code: Please note that the Then, on each subsequent call, There is no recursion in the last line of Here is what recursion looks like:
And in our case, we just return the function, without calling it:
This |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |