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.
This solution is from 2015.
var in 2024 is insane.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Any other solution besides this is simply over-engineering.
I don't think I've seen any best practice for spacing parameters, although method 1 is intuitively correct as you said.
Functions don't really care about extra spaces between parameters, so it won't cause any problems whatsoever. Also with popular use of linting and formatting tools like ESLint and Prettier in the industry today, this makes this even less of an issue.
One liner 4 life ✌🏽
Lol. Very clever indeed!
Lol. This is really clever! Wonder what execution time would look like.
Lol. Paid by the hour no doubt.
Lmao. This is the smartest solution! 🤣🤣