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.
guy's a scientist. This is beautiful
This comment is hidden because it contains spoiler information about the solution
this is great because it also takes care of only having to check for one "r" while still returning the name in its original format:)
Almost identical to my code:)
This comment is hidden because it contains spoiler information about the solution
This was a fun kata. I knew there was likely going to be a preexisting function out there that could reduce my code to just calling the function and giving it the "args" array as its argument, but I wanted to try to use lower level coding for this challenge. A for loop did the job well. Not the most efficient, especially when compared to some of the code examples posted by skilled folks on here, but I'm happy with my results:)
Hi there. It is asking to return a string value and not to print to the console. It is a small detail that I missed as well. Hope this helps
I tried solving this using template literals where I use back ticks and ${}, but the tests say it fails. I'm new to coding so I may be wrong, but I feel there may be a flaw in the test.
I see my mistake: I didn't read carefully. 'function that "returns" a value.'
I'm very happy with the results of this exercise:). I was having a hard time, but it turned out that I just had my return statement in the wrong place. I had it nested where it didn't belong.