At the top of that page it says

> This proposal has progressed to the Draft ECMAScript 6 Specification,
which is available for review here: specification_drafts.
> The content on this page is for historic record only and may no longer
reflect the current state of the feature described within.

If you look at the draft spec (
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-15.19.4.1 ) it
says there are two methods, next & throw

Rick: That notice of "this page is 100% out of date and should not be used
at reference material" really should be a lot more obvious. Maybe something
like give the bolded message a title "Warning:" with a warning icon


On Sun, Aug 18, 2013 at 6:15 PM, Michaël Rouges <[email protected]>wrote:

> Hi Rick,
>
> Thank you for looking at my code, however, the spec says otherwise.
>
> http://wiki.ecmascript.org/doku.php?id=harmony:generators
>
> Michaël
>
>
> Le lundi 19 août 2013 00:46:46 UTC+2, Rick Waldron a écrit :
>
>> Just a friendly heads up, there is no close method on GeneratorObject,
>> eg.
>>
>> fnGenerator.close();
>> generator.close();
>>
>>
>>
>> Rick
>>>
>>>   --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to