Online Code Editor
It is an example of using the addBack() method.
Click the below button to see the effect.
Here, we can see that the paragraph 1 is also selected. This is due to the addBack() method. If we do not use it, only 2nd and 3rd paragraphs will get selected.