Message from JavaScript discussions

July 2017

— They're pretty easy to work with if I remember correctly

— 

Well, when creating a range like that, is it only returned or is there a range somewhere in the DOM?

— Furthermore does the range refer to the fragment?

— Hm, wait, maybe I am seeing it wrong. The range is returned I think.

— Ranges represent selections

— Selected text

— With clipboard api

— What I read says it is basically a document fragment

— "The Range interface represents a fragment of a document that can contain nodes and parts of text nodes."

Message permanent page

— I suppose it is a "view" rather than a container, maybe

— Huh, i see

— NodeList is a view of the DOM and doesn't "contain" anything... so I wonder what Range really is