W
W
wkololo_4ever2014-04-27 17:34:40
JavaScript
wkololo_4ever, 2014-04-27 17:34:40

Why such a strange property output in the Chrome debugger?

I've been learning JS for a while now. There is a form with various elements. Accessing it with code
document.forms[0]
Actually, I can access its elements with code The
document.forms[0].elements[n]
question is why when viewing the forms[0] property in the Chrome debuggers 21c6bbee47624a5da2939d44f30407f5.png, the values ​​of the elements property are displayed? 552ed16048ae48c7ad1baf6bf3b29796.pngThis is confusing me, please explain what is the matter here.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question