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.
My question exactly until I read Chroo79's comment. I initially made a whoel if, if else, else statement to factor in null but I love how short and sweet this is.
Hello dani1995ar,
Yes I agree --> keep coding... :)
No. Read this: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_AND
The solutions are simple ... but don't loop everything
Some people are better at math than others. It's just the way of things. You could have used a loop instead. Not so clever but just as efficient
Yes, you can visualize it like this:
This comment is hidden because it contains spoiler information about the solution