Ad
  • Default User Avatar

    I assume it's not "best practice" to leave the "else" out of this? Since "return" ends the function immediately, the bottom case will only run if the "if" statement is false, barring the need for the "else". But I guess it's best practice for readability purposes.