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.
не мог решить относительно долгое время. Мучался и не мог понять в чем дело. Оказалось, что забыл игнорирование регистра(
addressed in JS
ok
JS fork
You can use a
for
loop. Your current solution use one but never updatesstatus
. This is why you are always returningtrue
.why cant i use 'for' to compelete the issue?
I'm not native English speaker and new for the Codewars. I just saw now that "ignore letter case" is correct for ignoring upper case letters. It's a synonim indeed. Sorry for my confusion. Would be better remove the comment. I put ISSUE because didn't find a label like "suggestion". Thanks guys for alerting me.
"case (in)sensitivity" is a pretty standard term, I'd get used to it
Not a kata issue, a suggestion at best.
I don't think this is an issue, "ignore letter case" means the same as "case insensitive", I don't see how this is an improvement.
Would be something like "ignore case sensitivity" instead of "ignore letter case"
Test for "moose" expects
false
. Test for "moOse" expectsfalse
. Relevant assertions in tests are:Doesn't this mean they both behave the same way? What is different about them?
The tests expects false, I don't know what you're complaining about, the test is fine, you're wrong.
That is the test, if it was case-sensitive as you claim, it would expect
true
becauseo
andO
would be considered different letters, but it isn't.Please reread what I wrote and re-check your tests. As many other users have pointed out, that test fails for them, as well. Case insensitization would mean that the case wouod be ignored, so MoOse and moose would be treated the same way. That isn't happening as it should be; it's not working as intended. Check your work.
Loading more items...