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 correct, I changed the comparison symbol and the problem became correct. The error is in the problem itself.
Super explanation, thank you for this - I was going slightly mad.
I solved using a for loop 😆
This comment is hidden because it contains spoiler information about the solution
i agree with you ! i'm using js as a beginner and can resolve katas but this one uses the string prototype and not function arguments and so beginners like me don't know how to adapt their answer ! thanks to try to understand us !😅
This comment is hidden because it contains spoiler information about the solution
I attempted this in JS.
Tbh, I have no clue what op wanted because the details aren't really clear enough. I had to use the test cases to create conditions that would pass the test. When I made an attempt a whole new set of problems arose and I gave up.
Why is that cheating? It's a way to solve the problem.
This comment is hidden because it contains spoiler information about the solution
I have a poor understanding of math. What is the significance of the - 2 ?
It's a complete misuse of ternary operators. You should only use ternary operators when you're going to return something with it.
If you want, you could report it here: https://github.com/codewars/codewars.com/issues
@Chrono79
I blocked some advertisements that were still showing up with adblock. When I removed those custom filters, it shows up. The elements that were blocked didn't share the some class as the description section. I'll keep watching this and see if it happens again.
Try another browser or from your phone to see if it appears, it is weird indeed.
That is so strange! I wonder if this is coorlated with the ad blocking or vpn usage... Now I'm curious.
EDIT: Apparently codewars quietly removes description lines if you're using an ad blocker. As soon as I turned it off and refreshed, it was there. Now I need to break out a few other browsers and test this further.
I don't know what to say, these are the full instructions I see for javascript:
No idea why you don't see the third paragraph.
Loading more items...