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.
@shotah
This is not cheating. Those people just solve the kata, with a code that passes the tests. This is what CodeWars is all about. The one(s) to blame are the author(s) of the kata and/or the translations who provided incomplete tests. And to clarify: I did not check whether what you say is correct or not about invalid codes.
See this
they require Node 12, it's not a kata issue (codewars support up to Node 12 but javascript tests cannot be edited for this kata :/ )
Your code's problem. Nobody said year is limited to 4 digits.