Skip to content

Commit

Permalink
Return undefined explicitly from JS algorithms.
Browse files Browse the repository at this point in the history
  • Loading branch information
heycam committed Jul 7, 2015
1 parent 9e2ab92 commit 1022ef9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11645,7 +11645,7 @@ <h4>4.5.7. Attributes</h4>
<li>Return <span class="esvalue">undefined</span>.</li>
</ol>
</li>
<li>If <var>validThis</var> is <span class="esvalue">false</span>, then return.</li>
<li>If <var>validThis</var> is <span class="esvalue">false</span>, then return <span class="esvalue">undefined</span>.</li>
<li>If the attribute is declared with a <a class="xattr" href="#PutForwards">[PutForwards]</a>
extended attribute, then:
<ol>
Expand All @@ -11655,7 +11655,7 @@ <h4>4.5.7. Attributes</h4>
<li>Let <var>A</var> be the attribute identified by the <a class="xattr" href="#PutForwards">[PutForwards]</a> extended attribute.</li>
<li>Call the <span class="prop">[[Put]]</span> method on <var>Q</var>
using the identifier of <var>A</var> as the property name and <var>V</var> as the value.</li>
<li>Return.</li>
<li>Return <span class="esvalue">undefined</span>.</li>
</ol>
</li>
</ol>
Expand Down
4 changes: 2 additions & 2 deletions index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11508,7 +11508,7 @@ interface
<li>Return <span class='esvalue'>undefined</span>.</li>
</ol>
</li>
<li>If <var>validThis</var> is <span class='esvalue'>false</span>, then return.</li>
<li>If <var>validThis</var> is <span class='esvalue'>false</span>, then return <span class='esvalue'>undefined</span>.</li>
<li>If the attribute is declared with a <a class='xattr' href='#PutForwards'>[PutForwards]</a>
extended attribute, then:
<ol>
Expand All @@ -11518,7 +11518,7 @@ interface
<li>Let <var>A</var> be the attribute identified by the <a class='xattr' href='#PutForwards'>[PutForwards]</a> extended attribute.</li>
<li>Call the <span class='prop'>[[Put]]</span> method on <var>Q</var>
using the identifier of <var>A</var> as the property name and <var>V</var> as the value.</li>
<li>Return.</li>
<li>Return <span class='esvalue'>undefined</span>.</li>
</ol>
</li>
</ol>
Expand Down

0 comments on commit 1022ef9

Please sign in to comment.