//You can use inline If logic to make coding easier
Use:
if(a = b ? 1 : 6) //If a=b then a = 1 else a = 6
You are testing if a=b that is everything up to and including the ? sign. If the If logic is true it takes the first
option (1) otherwise it takes the second value (6).
This just saves a bit of typing and looks cool!