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.
It looks like a 3 condition ternary operator.
var variable = (condition) ? (true block) : ((condition2) ? (true block2) : (else block2))
This comment is hidden because it contains spoiler information about the solution
Can someone explain what is happening if you put the '?' directly after the variable, as in here it is 'b?a-1'. I only know the ? to be used as- condition ? true : false
Thanks
This comment is hidden because it contains spoiler information about the solution