- From: Domenic Denicola <notifications@github.com>
- Date: Sat, 01 Oct 2016 08:36:31 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Message-ID: <heycam/webidl/pull/180/review/2433325@github.com>
domenic commented on this pull request. > @@ -7529,6 +7575,95 @@ iterable |iterable| and an iterator getter </div> +<h4 id="es-open-dictionary">Open dictionaries — OpenDictionary<[|K|,] |V|></h4> + +IDL {{OpenDictionary}}<|K|, |V|> values are represented by +ECMAScript <emu-val>Object</emu-val> values. + +<p id="es-to-open-dictionary"> + An ECMAScript value |O| is [=converted to an IDL value|converted=] to an IDL <code>{{OpenDictionary}}<|K|, |V|></code> value as follows: +</p> + +<ol class="algorithm"> + 1. Let |result| be a new empty instance of <code>{{OpenDictionary}}<|K|, |V|></code>. + 1. If [=Type=](|O|) is <emu-val>Undefined</emu-val> or <emu-val>Null</emu-val>, + return |result|. + 1. If [=Type=](|O|) is not <emu-val>Object</emu-val>, + <a lt="es throw">throw a <emu-val>TypeError</emu-val></a>. Again, can you quote? There's no such step that I can see; only for RegExp, which we are planning to remove (#148 #145). -- 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
Received on Saturday, 1 October 2016 15:36:59 UTC