I'm a beginner and I've never used a return function before and have always used void instead, can anyone explain to me a circumstance where return function is better than void function?
Bonus question: What does 'return' do? I see it all the time at the end of a return function.