std:iteration exports

2013-10-07 Thread Claude Pache
According to the latest version of the ES6 draft, section 25.2 [1], the std:iteration module exports these names: * iterator * GeneratorFunction * Generator I have two questions: 1. What does the iterator name refer to? My guess is that it is intended to give access the @@iterator symbol. 2.

Re: std:iteration exports

2013-10-07 Thread Allen Wirfs-Brock
this material will be gone from the next draft. At the last TC39 meeting we agreed that they were unnecessary. Allen On Oct 7, 2013, at 8:23 AM, Claude Pache wrote: According to the latest version of the ES6 draft, section 25.2 [1], the std:iteration module exports these names: *

Re: std:iteration exports

2013-10-07 Thread Claude Pache
Ok, thanks. —Claude Le 7 oct. 2013 à 14:35, Allen Wirfs-Brock al...@wirfs-brock.com a écrit : this material will be gone from the next draft. At the last TC39 meeting we agreed that they were unnecessary. Allen On Oct 7, 2013, at 8:23 AM, Claude Pache wrote: According to the

Are internal data properties ever inherited?

2013-10-07 Thread Nathan Wall
This should be a quick answer; I'm just looking for clarity. Are there any situations where internal data properties may be inherited? For example: Set foo to bar.[[Baz]] Does `foo` ever result in a non-undefined value if `bar` doesn't have an own `[[Baz]]` property but inherits from an

Re: Are internal data properties ever inherited?

2013-10-07 Thread Brendan Eich
Nathan Wall mailto:nathan.w...@live.com October 7, 2013 8:05 PM This should be a quick answer; I'm just looking for clarity. Are there any situations where internal data properties may be inherited? For example: Set foo to bar.[[Baz]] Does `foo` ever result in a non-undefined value if

RE: Are internal data properties ever inherited?

2013-10-07 Thread Nathan Wall
Brendan Eich wrote: Nathan Wall mailto:nathan.w...@live.com October 7, 2013 8:05 PM This should be a quick answer; I'm just looking for clarity. Are  there any situations where internal data properties may be inherited?  For example: Set foo to bar.[[Baz]] Does `foo` ever result in a

Re: Are internal data properties ever inherited?

2013-10-07 Thread Allen Wirfs-Brock
On Oct 7, 2013, at 8:05 PM, Nathan Wall wrote: This should be a quick answer; I'm just looking for clarity. Are there any situations where internal data properties may be inherited? For example: No never. Internal data properties are really properties at all. They are really private

Re: Are internal data properties ever inherited?

2013-10-07 Thread Allen Wirfs-Brock
On Oct 7, 2013, at 9:56 PM, Nathan Wall wrote: ... For instance, in the section for Object.prototype.toString (ES6 draft), steps 9-13 check to see if O has a [[X]] property, where X is some internal data property. Based on my experience with Object.prototype.toString, I know that has a