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.
im guessing people just blindly click the upvotes just because its at the top
I thought of almost the same solution
smart
I mean you are not wrong...
I think he noticed that but he just sacrificed performance for compactness
This comment is hidden because it contains spoiler information about the solution
Use spoiler flag next time please.
This comment is hidden because it contains spoiler information about the solution
him: making the solution longer by adding turnary operator
||||
26 people: C L E V E R
watch web dev simplified tutorial it helped me understand regex a lot
Thanks mate really needed this!
you can also get rid of the last semicolon :))))))))))))))))))
it can get more compact if you turn it into an arrow function
this is better practice because in real life cases you might wanna change the letter "r" into something else...
and in his solution just changing the letter "r" will do it...
This comment is hidden because it contains spoiler information about the solution
Loading more items...