Stop using ugly if’s and start using ternary operators in JavaScript As it’s name suggests, is an operator that takes 3 parameters (only one in JavaScript that takes 3), the first one is the condition, the second one is what will be returned or executed if the condition is true, the last one is what…

Read More