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.
2nd Time I Got Top answer, lets go
it's not a completely ridiculous solution though.
What is your point exactly, did the chicken lay an egg or the egg produce a chicken?
I asked chatGPT to solve this kata, and this function with regular expression is the answer.
I finally got top answer.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions/Cheatsheet
lol...me TOOOOO!!!
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions
trusting builtin functions is something we should avoid sometime, but yeah it doest the job weldone
Please use spoiler flag next time, your post was visible in the homepage.
already checked, in this case faster
This comment is hidden because it contains spoiler information about the solution
To be fair the actual problem here is to understand that you only need to replace a T for an U.
This comment is hidden because it contains spoiler information about the solution
AFAIK:
replaceAll
is not supported for the available versions of JavaScript on this site, so you'll need to take a different approach.Loading more items...