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.
readibility left the chat.
damn you regex !!!
that is, if 2.5 or 6.5 days, does the discount work?
Same here, I either didn't know or forgot that I can use two ternary operators in one line.
I am super noob, but ternary looks good only with 2 conditions. I would rather have more rows than a line so long
A very commmon eslint rule is no nested ternary. This would not fly in many teams.
also harder to debug
This is def clever but not best practice. Never do this in real code. This is not readable. Not maintanable. Not extensible.
I totally forgot that you can have two different conditionals in a ternary operator!!
This is def best practice
This comment is hidden because it contains spoiler information about the solution
Wow, nice use of ternary operator.
This comment is hidden because it contains spoiler information about the solution
Hello,
What would be the difference between (/ /g, "") and (/\s/g, "")? Are they the exact same? Which one is best practice?
Best,
Maurizio A.
that is the best fckng way damn i love it!!