On Aug 18, 2008, at 9:28 AM, Yuh-Ruey Chen wrote:
> OK, with the advent of ES-Harmony, I have no clue whether the language
> will support iterators (and maybe generators)
We talked about these in Oslo. My notes say generators received
favorable comments, with the thought from Mark Miller that t
OK, with the advent of ES-Harmony, I have no clue whether the language
will support iterators (and maybe generators) or catch-all methods. I
know that namespaces are out.
But assuming a pre-ES-Harmony mindset:
My solution does have bugs: I forgot to filter the results of
iter.next() in the next()
YR Chen wrote:
> But the syntax you propose is redundant, since you can define a own()
> method returning an iterator (for for...in) and a getOwn() method to do
> the same thing.
What people wanted so hotly was an object completely unpolluted
by inheritance from Object. It should have no .toStri
3 matches
Mail list logo