Which do you prefer?

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 5 months ago (1 child)

The two else ifs should be switched, because if the second one is true, the first one is also always true, so you'll never reach the second one.

❤️ 1
  • source
  • parent
  • hideshow 1 child comment