Home
My Highlights
Discover
Sign up
Walking the DOM
javascript.info
Array methods won’t work, because it’s not an array: Certain types of DOM elements may provide additional properties, specific to their type, for convenience A script cannot access an element that doesn’t exist at the moment of running. because we can use Array.from to create a “real” array from the
6 Users
0 Comments
57 Highlights
0 Notes
Top Highlights
Array methods won’t work, because it’s not an array:
Certain types of DOM elements may provide additional properties, specific to their type, for convenience
A script cannot access an element that doesn’t exist at the moment of running.
because we can use Array.from to create a “real” array from the collection, if we want array methods:
The childNodes collection lists all child nodes, including text nodes.
Domain
javascript.info
Ready to highlight and find good content?
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.
Start Highlighting