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.
Great solution. I need to look at my maps lesson again to start uisng them more.
this is simple solution!!!
can anyone tell me what is the difference between mine and this solution? like why we shoould do it in this way only?
This is brilliant.
ReferenceError: Numbers is not defined
well nevermind i'am blind sometimes 🤣🤣🤣🤣
and what if there are letters in numbers, i know it sounds weird but i mean where in the text its said there will only be numbers?
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.
It's called a spread operator, you can use it to define "the rest" of arguments, like (a, b, ...rest) and that'll be an array of the additional arguments. You can call this as myFunc(a, b, c, d) and the rest argument will contain [c, d]. I hope this makes sense. :)
Could you explain what is doing ...names?
Clever
So that it will work for
n=0
testThis comment is hidden because it contains spoiler information about the solution
Thank you. I realized what the problem was. Instead of return in the function I used print...
Loading more items...