Tuesday, April 22, 2014

return; in a JavaScript case/switch statement is not the same as break;

You'll be done with the function you are in after the return; and code after the case/switch statement in the same function will not run.

No comments:

Post a Comment