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.
I think there something wrong with the tests.
Would be nice to know what function "rev" does.
Ps. Well there was more than 2 arguments... Didn't know.
Here u need to know about currying
You're already 6k so you can edit this published kata, and it's not >500 solves either.
This comment is hidden because it contains spoiler information about the solution
That code is working. Probably something was fixed by itself during the long period.
I saw a post on reddit with this same exact problem as a challenge for an interview. I have been defeated by this one and surrendered to see the solution. This is a great kata but I feel like this should be in the 3 or 4 kyu range.
hi everyone, I don't have a very high level of Javascript (at all) and it's the first time I see something like "flip(print)(4,5)" ... I don't understand what is (print), why the function is not just flip(4,5) ? Some could explain pretty please ?
The fact that there are 2 parentheses after the function is confusing to me.
thanks
reverse isn't needed: http://www.codewars.com/kata/reviews/54245bec0d07e54d4600031b/groups/55b282f9a8454e7e23000038
Congratulations on implementing generic solution!
The ultimate hardcoded solution I've seen at 3kyu.
Mad Props.
You misspelled handler in your description on one of the lines.
should be
Brilliant solution, I love it!
console.log('anything') on line #1
for some reason that worked for me.
This comment is hidden because it contains spoiler information about the solution
It would be nice if we could see what the "rest" function is in the description. I'm not sure what to do with the pipeline function. Does it invoke the functions on the object intially, then keep returning the value from the returned functions? not really sure what to do.
*update: managed to solve it, nice kata but I think it needs better examples with multiple functions.
Loading more items...