- From: Jeffrey Yasskin <notifications@github.com>
- Date: Tue, 18 Oct 2016 10:50:27 -0700
- To: heycam/webidl <webidl@noreply.github.com>
Received on Tuesday, 18 October 2016 17:50:56 UTC
@bzbarsky I don't see "is already present" in the spec. Do you mean the "If _typedKey_ is already a key in _result_," wording? That's the same operation as in [`Map.prototype.set`](https://tc39.github.io/ecma262/#sec-map.prototype.set), which I believe we implement efficiently. I do think we want to avoid the possibility of a `record` winding up with a duplicate key: it can only happen with a proxy object input, and spec authors are unlikely to consider it and handle it well. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/pull/180#issuecomment-254585829
Received on Tuesday, 18 October 2016 17:50:56 UTC