Hello everyone,
I have just a doubt regarding this exercise included in the Back-end career path:
at point number 5 why has the “break” keyword been omitted inside the switch?
Thank you so much!!!
Hello everyone,
I have just a doubt regarding this exercise included in the Back-end career path:
at point number 5 why has the “break” keyword been omitted inside the switch?
Thank you so much!!!
When the computer runs into break
it exits the loop, but when it runs into return
it exits the whole function.
Here, return
is doing the job that break
would normally do.
Thank you so much