mozilla

Compare Revisions

Iterators and generators

Change Revisions

Revision 337447:

Revision 337447 by teoli on

Revision 344773:

Revision 344773 by JaviMerino on

Title:
Iterators and generators
Iterators and generators
Slug:
JavaScript/Guide/Iterators_and_Generators
JavaScript/Guide/Iterators_and_Generators
Tags:
"JavaScript"
"JavaScript"
Content:

Revision 337447
Revision 344773
t286      If a yield is not encountered during the processing of the t286      If a <code>yield</code> is not encountered during the proce
>thrown exception, then the exception will propagate up through th>ssing of the thrown exception, then the exception will propagate 
>e call to <code>throw()</code>, and subsequent calls to <code>nex>up through the call to <code>throw()</code>, and subsequent calls
>t()</code> will result in <code>StopIteration</code> being thrown> to <code>next()</code> will result in <code>StopIteration</code>
>.> being thrown.

Back to History