Introduction
In my last blog post, I wrote about using switch statements when I don't need complicated if-else
statements. It makes my code easier to read and overall just easier to manage. In keeping up with trying to clean up my conditional statements, I have been implementing more ternary operations into my code. Now I have usually avoided them just because I was…