Compare Revisions

Array

Change Revisions

Revision 27808:

Revision 27808 by Sevenspade on

Revision 27809:

Revision 27809 by Sevenspade on

Title:
Array
Array
Slug:
JavaScript/Reference/Global_Objects/Array
JavaScript/Reference/Global_Objects/Array
Tags:
JavaScript, NeedsEditorialReview, "JavaScript Reference"
JavaScript, NeedsEditorialReview, "JavaScript Reference"
Content:

Revision 27808
Revision 27809
t96      An array's <code><a href="en/JavaScript/Reference/Global_Obt96      An array's <code><a href="/en/JavaScript/Reference/Global_O
>jects/Array/length" title="en/JavaScript/Reference/Global_Objects>bjects/Array/length" title="en/JavaScript/Reference/Global_Object
>/Array/length">length</a></code> property and numerical propertie>s/Array/length">length</a></code> property and numerical properti
>s are connected.&nbsp; Several of the built-in array methods (e.g>es are connected.&nbsp; Several of the built-in array methods (e.
>., <code>[[en/JavaScript/Reference/</code><code>Global_Objects/Ar>g., <a href="en/JavaScript/Reference/Global_Objects/Array/join" t
>ray/</code><code>join|join]]</code>, <code>[[en/JavaScript/Refere>itle="en/JavaScript/Reference/Global_Objects/Array/join">join</a>
>nce/</code><code>Global_Objects/Array/</code><code>slice|slice]]<>, <a href="en/JavaScript/Reference/Global_Objects/Array/slice" ti
>/code>, <code>[[en/JavaScript/Reference/</code><code>Global_Objec>tle="en/JavaScript/Reference/Global_Objects/Array/slice">slice</a
>ts/Array/</code><code>indexOf|indexOf]]</code>, etc.) take into a>>, <a href="en/JavaScript/Reference/Global_Objects/Array/indexOf"
>ccount the value of an array's <code>length</code> property when > title="en/JavaScript/Reference/Global_Objects/Array/indexOf">ind
>they're called.&nbsp; Other methods (e.g., <code>[[en/JavaScript/>exOf</a>, etc.) take into account the value of an array's <code>l
>Reference/</code><code>Global_Objects/Array/</code><code>push|pus>ength</code> property when they're called.&nbsp; Other methods (e
>h]]</code>, <code>[[en/JavaScript/Reference/</code><code>Global_O>.g., <code>[[en/JavaScript/Reference/</code><code>Global_Objects/
>bjects/Array/</code><code>splice|splice]]</code>) also result in >Array/</code><code>push|push]]</code>, <code>[[en/JavaScript/Refe
>updates to an array's <code>length</code> property.>rence/</code><code>Global_Objects/Array/</code><code>splice|splic
 >e]]</code>) also result in updates to an array's <code>length</co
 >de> property.

Back to History