Oooo, also an after point, this example above is a great show case of why the ternary should be used in place of if else when possible.
If else trees out the possible states. Ternaries do not. This was an interesting one - thanks for your comment @nicholasmenez
, it has me thinking deep into the details.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Oooo, also an after point, this example above is a great show case of why the ternary should be used in place of if else when possible.
If else trees out the possible states. Ternaries do not. This was an interesting one - thanks for your comment @nicholasmenez , it has me thinking deep into the details.