On Nov 8, 2011, at 1:48 PM, Claus Reinke wrote:

>> for own (i in o) {
>>   body
>> }
> 
> What happened to @iter.keys and 'for (key of keys) {}'?

Still there, but write it out fully, to compare to the cited text:

  import keys from "@iter";
  for (i of keys(o)) {
    body
  }

Unless we default-import a standard prelude, this is a bit much compared to add 
own as a modifier after for in for/in (not for/of) loops.

/be

> 
> http://wiki.ecmascript.org/doku.php?id=harmony:iterators
> 
> Claus
> http://clausreinke.github.com/
> http://clausreinke.github.com/js-tools/ 

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to