javascript Array length
| length | NN 3 IE 4 ECMA 1 |
|
Read/Write |
Provides a count of the number of numerically-indexed entries stored in the array. If the constructor function used to create the array specified a preliminary length, the length property reflects that amount, even if data does not occupy every slot. |
|
| Example | |
for (var i = 0; i < myArray.length; i++) {
...
}
|
|
| Value | |
Integer. |
|
Previous: javascript Array prototype
268,Nickname,Homepage or email,Comments here,Add comment
