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.
very "readable"
That's a great site! Thanks for the link, never heard of it before.
what 😭😭😭😭😭😭
(btw great code)
wot
The backticks are a template literal (specifically look at tagged templates on MDN for more info on this use) which is being used to call the join function with an empty string as the parameter. This is done so that it joins our reversed array with an empty string / no delimiter instead of the default comma delimiter that join would use if we called it like
a.join()
The TLDR it does the same thing as
a.join("")
, but more concisely and less readablyThe g after the regex is specifies that you want the pattern to match globally.
The ellipsis is the spread operator where you can spread a string into an array of characters
And for the last one, I do not know as I have not looked at the source code.
Hope this helps you. :)
Man.. you love Math too much XD
I have a few questions:
I'm a beginner at JS, mind (I know Java better, though)
You don't need to put brackets for if-elses, by the way. To be more clear: If you're going to run only one thing in if-else, you can ignore brackets.
Sorry, I am not good at this operation, I will try my best to adjust
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
Neeeeat!
looks cool but this is not easy to interpret
Try that in regex101.com And there is no need to ask the same three times.
Loading more items...