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.
art
Bro speaks Babel
Someone golfs
🤯
Shorter https://www.codewars.com/kata/reviews/5266876c8f4bf2da9b000365/groups/66bf3ade1baad7bd715acf82
this is js )
Insane JS techinical skill level, congratz
What in the name of god
what even is this?
approved at kyu 6
ad 2: but it is not clear from the description if
Function anonymousissfunctororsfunctor(), which have different behaviours.sfunctor.testto the example descriptionThis is a generally bad example of code, but I like the look of it)
Using undeclared variables is not a best practice.
fpollutes the global namespace ( and might be overwritten there ).Example tests are unreadable for solvers. They heavily use
Preloadedcode, which is not available to solvers, and we have to assume behaviour from names. This is not the intent of example tests.Show the
Preloadedcode in the description, or at least explain what everything does, or move the code intoExample tests( and also intoSubmit tests, but that's your problem ), or - much preferred - write more readable code inExample tests. Code duplication is not a ( solver ) problem there; example tests are meant to be readable for solvers, and individual tests should preferably be visible in the window in their entirety, without having to scroll to find definitions of factored out code.Loading more items...