Skip to content

Commit 49625d9

Browse files
committed
Types: rename array-like objects to array-like object
1 parent a6f633c commit 49625d9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

entries/jQuery.merge.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<desc>Merge the contents of two arrays together into the first array. </desc>
55
<signature>
66
<added>1.0</added>
7-
<argument name="first" type="ArrayLikeObjects">
7+
<argument name="first" type="ArrayLikeObject">
88
<desc>The first array-like object to merge, the elements of second added.</desc>
99
</argument>
10-
<argument name="second" type="ArrayLikeObjects">
10+
<argument name="second" type="ArrayLikeObject">
1111
<desc>The second array-like object to merge into the first, unaltered.</desc>
1212
</argument>
1313
</signature>

pages/Types.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<li class="toclevel-2"><a href="#Array.3CType.3E_Notation"><span class="toctext">Array&lt;Type&gt; Notation</span></a></li>
7474
</ul>
7575
</li>
76-
<li class="toclevel-1"><a href="#ArrayLikeObjects"><span class="toctext">Array-Like Objects</span></a></li>
76+
<li class="toclevel-1"><a href="#ArrayLikeObject"><span class="toctext">Array-Like Object</span></a></li>
7777
<li class="toclevel-1"><a href="#PlainObject"><span class="toctext">PlainObject</span></a></li>
7878
<li class="toclevel-1"><a href="#Date"><span class="toctext">Date</span></a></li>
7979
<li class="toclevel-1"><a href="#Function"><span class="toctext">Function</span></a>
@@ -412,7 +412,7 @@ <h3 id="Array.3CType.3E_Notation"> Array&lt;Type&gt; Notation </h3>
412412
</pre>
413413
<p>This indicates that the method doesn't only expect an array as the argument, but also specifies the expected type. The notation is borrowed from Java 5's generics notation (or C++ templates).
414414
</p>
415-
<h2 id="ArrayLikeObjects">Array-Like Objects</h2>
415+
<h2 id="ArrayLikeObject">Array-Like Object</h2>
416416
<p>Either a true JavaScript Array or a JavaScript Object that contains a nonnegative integer <code>length</code> property and index properties from <code>0</code> up to <code>length - 1</code>. This latter case includes array-like objects commonly encountered in web-based code such as the <code>arguments</code> object and the <code>NodeList</code> object returned by many DOM methods.</p>
417417
<p>When a jQuery API accepts either plain Objects or Array-Like objects, a plain Object with a numeric <code>length</code> property will trigger the Array-Like behavior.</p>
418418
<h2 id="PlainObject"> PlainObject </h2>

0 commit comments

Comments
 (0)