> Exceptions aren't eaten. Good, so a $break-like mechanism is possible then, just moved out a level.
-- T.J. On Aug 27, 10:49 pm, Tobie Langel <tobie.lan...@gmail.com> wrote: > > *blech* to ES5's enumerable stuff not having $break or similar > > functionality. I've just read the forEach section of the draft spec > > from a while back, and I'm not seeing a discussion of exception > > handling. I haven't delved deep, though -- do you know offhand how > > exceptions in the callback function are handled? E.g, can one > > implement one's own $break handling, or are exceptions eaten? > > Exceptions aren't eaten. > > > Re setInterval and setTimeout, how do you see implementing #delay or > > similar without using them? > > You can't. > > > Or do you not see it, e.g., a pure LANG > > version of Prototype wouldn't have Function#defer. > > Maybe Function#defer would be defined only if window.setTimeout was > present. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---