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'll say, but keep in mind that this approach is more concise and efficient than your method, especially for larger numbers.
This comment is hidden because it contains spoiler information about the solution
tbh i dont know abt this
the owner of the solution above was like you someday.
Wow... that's insane
все правильно работает
2nd Time I Got Top answer, lets go
that's normal,
Totally forgot about this, never occured to me that i could use this.
there is actually no need to save into variables the functions in our answers to these exercises, as we're not asked to then use them as parameters in higher order functions, so we can use a function expression, rather than a function declaration (plus, especially with the concise arrow syntax, we can use functions diretly as argumemts in other functions, or define and call them at the same time as an IIFE, eg. ((n)=> {console.log(n=5);}10); that logs 15)
Why do I forget about regex?
when you want to solve a problem, better way is using the fundamentals of the language not the built-in function.
wow this is much simpler
This is a more streamlined version of what I did. I'm glad to see I'm starting to improve 😭
Functions like these remind me "At least I'm learning something" xD
Loading more items...