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.
You are right, I got it.
Be careful to check the 2th argument.
It might because you're modifying the original array, when you're meant to create a new array and push to that instead. If this is not the case, you can post your code below so I can see what's wrong.
I try Python and JS, tests not working in JS.
Thank you very much, sorry to ask before Google for what Brainfuck mean. Something wrong with my string, so it didn't pass.
Did you even read the description? You have to write this code in a language called Brainfuck. Brainfuck is not a language supported by Codewars, so it has to be written in JavaScript as a string.
There are other Fibonacci Katas you can try, see here: http://www.codewars.com/kata/search/my-languages?q=Fibonacci
This comment is hidden because it contains spoiler information about the solution
She actually loves all Johnnies... :D
How about using like this ? Or should I sort first and then use indexOf to find the first and then slice ?
var capsuleWardrobe = function (shirts) {
var arr = shirts.filter(function(x) {
return x >= 8;
});
return arr.length;
}
What if another people has the same name? 尴尬!