Faking goto in JavaScript with Labeled Statements


What if I told you JavaScript had a limited form of the infamousĀ goto statement? Surprised? Read on.