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.
i had simply forgotten about variable hoisting, how embarassing >~< it should be OK now, sorry for the inconvenience
This works: https://www.codewars.com/kata/52250aca906b0c28f80003a1/discuss#615857431274ac0029ce229c
@trashy_incel you don't have to reset everything. You can simply enclose the backward-compatibility with a
try...catch
block to prevent it from producing an error.fixed, dont forget to reset the tests