3 ms·
Quoted from a thread on StackOverflow: "Because the DOM is designed to not depend on anything language specific. All types returned by the DOM API will be host
by mxstbr 12y ago
Quoted from a thread on StackOverflow: "Because the DOM is designed to not depend on anything language specific. All types returned by the DOM API will be host types rather than native types. This allows the DOM to be language agnostic and not dependent on any specific language construct." [1]
[1] https://stackoverflow.com/questions/21768551/javascript-why-use-nodelist-instead-of-using-array https://stackoverflow.com/questions/21768551/javascript-why-...
- dandare 12y agoty