File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -4767,6 +4767,20 @@ specific dictionary |D| if all of its [=map/entries=] correspond to [=dictionary
4767
4767
correct order and with the correct types, and with appropriate [=map/entries=] for any required
4768
4768
dictionary members.
4769
4769
4770
+ <div class="example">
4771
+ <pre highlight="webidl">
4772
+ dictionary Descriptor {
4773
+ DOMString name;
4774
+ sequence<unsigned long> serviceIdentifiers;
4775
+ };
4776
+ </pre>
4777
+
4778
+ A <code>Descriptor</code> dictionary could be created as in the following steps:
4779
+
4780
+ 1. Let |identifiers| be « 1, 3, 7 ».
4781
+ 1. Return «[ "name" → "test", "serviceIdentifiers" → |identifiers| ]».
4782
+ </div>
4783
+
4770
4784
<p class="advisement">
4771
4785
As with [=optional argument/default value|operation argument default values=],
4772
4786
it is strongly suggested not to use <emu-val>true</emu-val> as the
You can’t perform that action at this time.
0 commit comments