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.
It looks like you're assigning the ternary operator to a variable. Why is that? Is it meant to be an arrow function. I also agree, you would want to just use true/false without the quotes.
Agreed. This answer is concise but not correct.
When I first came to CodeWars, I was completely stumped. I have come back a few weeks later, after practicing with Javascript for hours each day and now I've done several of them. I say this to say, give it time. Even seasoned programmers get stuck on problems.