Question
How would I better write this?
I want to write something like this:
if(imgToLoad == 3 || imgToLoad == 4 || imgToLoad == 5)
Is there something less "wordy"?
Something like this? I am sure this is wrong, but there must be a better way?
if(imgToLoad == [3, 4, 5])
Thanks a lot for any help!