The bug has been filed: https://bugs.ecmascript.org/show_bug.cgi?id=3724
Thanks.
___
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss
Seems a serious problem, but could be easily fixed (I think).
For Example, this could be used as [[Enumerate]] for ordinary objects:
9.1.11 [[Enumerate]]([visitedSet])
When the [[Enumerate]] internal method of O and optional argument visitedSet is
called the following steps are taken
Return an
Good catch! I think this old decision pre-dates for-of. Cc'ing Tom.
Leon, could you please cite the bug in a followup here if you file it?
Thanks,
/be
Allen Wirfs-Brock wrote:
Thanks,
Please file a bug on this at bug.ecmascript.org
AllenOn Jan 30, 2015 8:41 PM, Leon Arnott wrote:
Lately I
Thanks,
Please file a bug on this at bug.ecmascript.org
AllenOn Jan 30, 2015 8:41 PM, Leon Arnott wrote:
>
> Lately I've been puzzled about what the Proxy "enumerate" trap is supposed to
> accomplish w/r/t enumeration over prototype properties. Consider the
> following:
> ```
> let obj = {"
Lately I've been puzzled about what the Proxy "enumerate" trap is supposed
to accomplish w/r/t enumeration over prototype properties. Consider the
following:
```
let obj = {"actual-property":1};
let proxy = new Proxy(obj, {*enumerate(){
yield "falsified-property";
}});
```
The implicatio
5 matches
Mail list logo