From: Allen Wirfs-Brock al...@wirfs-brock.com
To: Fabrício Matté ultco...@gmail.com
Cc: es-discuss es-discuss@mozilla.org
Date: Sat, 17 Jan 2015 12:14:17 -0800
Subject: Re: A new ES6 draft is available
On Jan 17, 2015, at 11:57 AM, Fabrício Matté wrote:
Currently in ES6, the only
Thanks,
changed it to an assert.
Ideally, you should return this sort of thing using bugs.ecmascript.org.
Allen
On Jan 18, 2015, at 3:21 PM, Tom Schuster wrote:
The Proxy [[Construct]] method 9.5.14, has the step 7.a
If target does not have a [[Construct]] internal method, throw a
Currently the keys of the entries returned by `Set.prototype.entries()` are the
same as the values:
```js
let set = new Set(['a', 'b']);
let pairs = [...set.entries()];
console.log(JSON.stringify(pairs)); // [[a,a],[b,b”]]
```
Given that sets are ordered, I’d use the “position” of an entry as
+1
---
R. Mark Volkmann
Object Computing, Inc.
On Jan 18, 2015, at 6:28 AM, Axel Rauschmayer a...@rauschma.de wrote:
Currently the keys of the entries returned by `Set.prototype.entries()` are
the same as the values:
```js
let set = new Set(['a', 'b']);
let pairs =
The Proxy [[Construct]] method 9.5.14, has the step 7.a
If target does not have a [[Construct]] internal method, throw a TypeError
exception.
But a proxy only has a [[Construct]] internal method when the target has a
[[Construct]] internal method. I am not aware that an object can lose an
added https://bugs.ecmascript.org/show_bug.cgi?id=3576 for the destructuring
case which didn't already have a ticket.
(also fixed it, array destructuring now now does an IteratorClose on any
iterator it creates using GetIterator)
Allen
On Jan 15, 2015, at 10:18 AM, Jason Orendorff wrote:
On
6 matches
Mail list logo