Question
Can I return outside a function?
Answer
No, you should not be using return outside of a function. This could have side effects like crashing your application or the premature termination of your program.
Can I return outside a function?
No, you should not be using return outside of a function. This could have side effects like crashing your application or the premature termination of your program.