Did you know that #document is a node as well. I guess that makes sense given that document.body and document.head are not roots, this isn't a multiroot tree.
I think after many years I still have fundamental gaps in my knowledge and so it's good to read little posts like this.
What are some other gaps that you have discovered lately?
I have written a lot of posts lately about wierd bits I thought I knew.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.