Use an if/else block or ternary operator in preference to assigning once and then maybe assigning again.