⛄ Snowberb ⛄ – 11-52 Mar 18

Hello, imagine having the next tiers:
Friend
,
Awesome Friend Light
and
Awesome Friend
. I want to call the function
nextTier()
and automatically select the next Tier in the list. So for example if the current tier is
Friend
, then I want to return
Awesome Friend Light
, and if the current tier is
Awesome Friend
, which is the last possible tier, I want to return
Awesome Friend
Was this page helpful?