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
The description says the name of the array is partyAges, but the example and actual code use the array party_ages.
The kata doesn't describe what the code is supposed to do, so it's unclear what we need to fix in it.
@StefanPochmann: it would be nice to implement that, yes. That would require a modification of the description too, though.
This comment is hidden because it contains spoiler information about the solution
Basically it doesnt describe what the original problem is so how we fix?
We can make sure the tests pass but that doesnt really demonstrate anything useful.
For better task understanding you could make better code quality/readability with some meaningful function names instead of just anonymous functions.
Without doing final attempt to task, there is hard to understand that code need to handle integer convertation to octal number too.
Java Translation kumited! Please Accept :D
CoffeeScript Translation kumited! Please Accept :D
Hope it resembles your original intention
The
base
2 (binary) or 8 (octal) is unrelated to array index value so why call the indexbase
(??) Seems a misleading parameter name to me.I translated this kata into JS, but it should be renamed. Is there any possibility to do it?