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 shouldn't be a 6 and should be regraded to a 7 imho, thanks for the kata tho!
my code works for the most part but I'm stuck with the error 'expected undefined to equal " " ' I don't actually get it. When I change it arounf instead I get 'expected " " to equal undefined'
Way to easy for a 6KYU IMO
That's great! I appreciate it.
Kata creator has being gone for a while, added another example to clarify.
Ahh, I see now. In that case, the description should've used a better example like yours.
Btw, thanks for not resolving the
suggestion
immediately.No, that's not either what he meant. In
translator
you should returnt
, nota
.While second
a
appears before secondt
, in the string of all repeated letters, the first one ist
."the first character that repeats" and "the character that repeats first" mean exactly the same thing.
You might want to revise the second definition to: "The first character that repeats consecutively"
Yeah, it should be changed somehow. Both descriptions are exactly the same. I've added a suggestion regarding this.
What is that even mean? Object's property by nature doesn't have any order. You access them directly with keys, not with index.
@cliffstamp JS has not
I understood and fixed, but now other exception occurred "expected undefined to equal 'a'". The conditional the treat a first value is ok. So, I think when the value exists will be return the itself and not undefined or ' '.
That's because
' '
is indeed repeated (it's a space, not empty value)There is a problem in the test, when doesn't match needed to return an 'undefined', but, in some test waiting an empty value ' ' instead of 'undefined'. This is weird. That is it?
added
Loading more items...