mozilla

Compare Revisions

Array

Change Revisions

Revision 27829:

Revision 27829 by snearley on

Revision 27830:

Revision 27830 by snearley 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 27829
Revision 27830
t96      A JavaScript array's <code><a href="/en/JavaScript/Referenct96      A JavaScript array's <code><a href="/en/JavaScript/Referenc
>e/Global_Objects/Array/length" title="en/JavaScript/Reference/Glo>e/Global_Objects/Array/length" title="en/JavaScript/Reference/Glo
>bal_Objects/Array/length">length</a></code> property and numerica>bal_Objects/Array/length">length</a></code> property and numerica
>l properties are connected.&nbsp; Several of the built-in JavaScr>l properties are connected.&nbsp; Several of the built-in array m
>ipt array methods (e.g., <code><a href="/en/JavaScript/Reference/>ethods (e.g., <code><a href="/en/JavaScript/Reference/Global_Obje
>Global_Objects/Array/join" title="en/JavaScript/Reference/Global_>cts/Array/join" title="en/JavaScript/Reference/Global_Objects/Arr
>Objects/Array/join">join</a></code>, <code><a href="/en/JavaScrip>ay/join">join</a></code>, <code><a href="/en/JavaScript/Reference
>t/Reference/Global_Objects/Array/slice" title="en/JavaScript/Refe>/Global_Objects/Array/slice" title="en/JavaScript/Reference/Globa
>rence/Global_Objects/Array/slice">slice</a></code>, <code><a href>l_Objects/Array/slice">slice</a></code>, <code><a href="/en/JavaS
>="/en/JavaScript/Reference/Global_Objects/Array/indexOf" title="e>cript/Reference/Global_Objects/Array/indexOf" title="en/JavaScrip
>n/JavaScript/Reference/Global_Objects/Array/indexOf">indexOf</a><>t/Reference/Global_Objects/Array/indexOf">indexOf</a></code>, etc
>/code>, etc.) take into account the value of an array's <code>len>.) take into account the value of an array's <code>length</code> 
>gth</code> property when they're called.&nbsp; Other methods (e.g>property when they're called.&nbsp; Other methods (e.g., <code><a
>., <code><a href="/en/JavaScript/Reference/Global_Objects/Array/p> href="/en/JavaScript/Reference/Global_Objects/Array/push" title=
>ush" title="en/JavaScript/Reference/Global_Objects/Array/push">pu>"en/JavaScript/Reference/Global_Objects/Array/push">push</a></cod
>sh</a></code>, <code><a href="/en/JavaScript/Reference/Global_Obj>e>, <code><a href="/en/JavaScript/Reference/Global_Objects/Array/
>ects/Array/splice" title="en/JavaScript/Reference/Global_Objects/>splice" title="en/JavaScript/Reference/Global_Objects/Array/splic
>Array/splice">splice</a></code>, etc.) also result in updates to >e">splice</a></code>, etc.) also result in updates to an array's 
>an array's <code>length</code> property.><code>length</code> property.

Back to History