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.
why should i use the == in 2022. i spend 45 min for this simple kata only because i use === in my if... goddamn
Whenever you publish a kata to beta the kata becomes CW content, so it's subjected to CW standard. Beta katas are a part of CW process. If you want to make katas without being subjected to CW standard, well, either write katas up to quality or make draft katas/kumites instead. They're not held to such standard.
Also, who's downvoting the comments there?
You know you don't have to publish your kata, don't you? A Draft kata can be solved if you have the link. And then there's kumite, which can be used to privately develop code. ( I have literally hundreds. I prefer to develop on CodeWars instead of locally. )
If you publish your kata, you are asking us to rate, rank and possibly discuss it. Don't complain when we do just that.
I'm sorry for the trouble. I'm making these for a class and weren't intended to be used for the public. Please disregard all future Katas I create.
You haven't learnt anything from your old katas that have been retired. At all.
Please go back and see the comments.
This comment is hidden because it contains spoiler information about the solution
Hardly original. Filter, map and reduce a list.
The average age of 0 girls is not 0. It's either
undefined
orNaN
, and the description should specify if this can happen and if so, what is the expected result.And, no random tests.
Not satisfied.
I can't really be bothered to find an exact duplicate, but please just unpublish this.
1.Calling for filter out strings ,but you just want number. Why not just filter number?
2.Random test is needed. Fixed test is easily to cheat.
p.s:There are lots of katas in codewars.Simple kata will be easily duplicated.You can add something to make your kata been different.
Please for once look at the comment section of your katas and stop posting more katas that will never be able to go through beta. It's pointless.
Have you seen the issues in your last kata?
The sample tests is about something completely different, there are only 4 fixed tests, and there are no random tests.
Please do more katas to understand what consistutes an actual kata before making one.
Duplicate of https://www.codewars.com/kata/get-the-middle-character