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.
Read this: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll#browser_compatibility and this: https://docs.codewars.com/training/troubleshooting#post-discourse
"My code does not work" is not a kata issue.
We cannot really help if we do not know your code, can we. Please read through this article and check if you can find anything helpful there: https://docs.codewars.com/training/troubleshooting
Not a kata issue, don't use global vars, they keep their value between tests, read this: https://docs.codewars.com/training/troubleshooting/