0

If statements

Hi - I am working on a function for a site that has a lot of if, else if and else statements. Some who is up for helping?

8th Jan 2020, 10:52 PM
Coding 4 Fun
Coding 4 Fun - avatar
1 Antwort
+ 3
Yep - lots of if else statements usually means convoluted code. Try the switch statement to see if it makes more sense
8th Jan 2020, 11:00 PM
HNNX 🐿
HNNX 🐿 - avatar