Quote:
Originally Posted by chromedude
no, does that store all the results in an array? because that is just a var
|
var means
variable. According to the nature of the right term, an assignment might give a variable two type of values: primitive and reference.
Now,
getElementsByTagName() method returns always a
collection of all the elements with a certain tagname (which is very much alike an array). So that variable in your example becomes the reference of that collection. A
clone of the collection, we may say so.