Skip to content

Commit 8c01dfd

Browse files
pchampingkellogg
authored andcommitted
more explicit definition of key equality
1 parent 13cf711 commit 8c01dfd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11410,8 +11410,12 @@ <h3>Serializing/Deserializing RDF</h3>
1141011410
<li>If <var>A</var> and <var>B</var> are both <a>objects</a>,
1141111411
both <var>A</var> and <var>B</var> have the same number of <a>members</a>,
1141211412
and each <a>member</a> in <var>A</var> is equal to a corresponding <a>member</a> in <var>B</var>
11413-
where the keys are identical, and the values are considered equal through
11414-
applying this comparison recursively.</li>
11413+
where <ul>
11414+
<li>the keys are equal (as defined in <a data-cite="ECMASCRIPT#sec-samevaluenonnumber">Section 7.2.12, step 5.a</a>
11415+
in [[ECMASCRIPT]]), and</li>
11416+
<li>the values are considered equal through
11417+
applying this comparison recursively.</li>
11418+
</ul>
1141511419
<li>Otherwise, if <var>A</var> and <var>B</var> are both <a>arrays</a>,
1141611420
both <var>A</var> and <var>B</var> have the same number of elements,
1141711421
and each element <var>A<sub>i</sub></var> is considered

0 commit comments

Comments
 (0)