Friday 15 June 2012

javascript - Array index as property -


How can you prove that an array is ??? S index are only numerical qualities? I know, it shows for loop , but what do I mean: how can I prove that an array ???? Index is a property? And also an important asset?

Are they similar to common object properties?

You can prove that a multicultural property is very easy as you said, Is there a definition of this one for code> loop in ?? Line Enumerable If you want another way, however:

  var a = ['hello']; And yes, this is a very important thing, they are like any other object property, except that they change an array  length  if any previous Ends is only a different thing about the array.  
  var a = []; A [0] = 5; A.length // 1    

No comments:

Post a Comment