[Javascript] Terminating a nested function?
liorean
liorean at gmail.com
Wed Apr 6 11:12:44 CDT 2005
On Apr 6, 2005 2:12 AM, Kimberly Batteau <kimberlybatteau at gmail.com> wrote:
> This should be simple, but I can't find an answer…
>
> When in a function nested several layers deep, is there a way in JS to
> halt the execution without returning to all of the parent functions?
Using the throw statement perhaps. I'm not sure I understand why you
would want to do such a thing, though. Can you explain why you're
trying to do this, preferably with some example code?
--
David "liorean" Andersson
<uri:http://liorean.web-graphics.com/>
More information about the Javascript
mailing list