Ad
  • Default User Avatar

    I'm new.. So, help me understand. By using this block, is it because it's an arrow function that you don't need to use the curly braces to separate the IF's? And I assume that the final return statement is an ELSE, but not needed due to the arrow function as well? Or is the ELSE IF just redundant overall and purely used for readability?