nextSibling

Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.

MDN Reference