Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
True ... but - my sum1 = sum and the index comes back on the first example [1,2,3,4,3,2,1] but after being equal never runs the return. Try it!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
So yes - I have lots of extra leftover comments and have cleaned it up. One will be for the not equal value but you see that the return b; does not throw produce the passed test for the first array even though the value of i is "reported" as being correct. That is 3.
Why won't my return i give me the value. It is in the if statement. i does equal what I am asking for but it will not return and goes thru the next arr.
I see it passed the tests but can't get it to work on the console in CodePen.
How do I run it?
Thanks
I can't even get function seven(times(five())) in the editor without an error. Guess this one will take some time