DOM previousElementSibling and nextElementSibling reference

head.lastElementChild.previousElementSibling:

body.firstElementChild.nextElementSibling:

DOM nodes should be 'null' if not present

head.firstElementChild.previousElementSibling:

head.firstElementChild.nextElementSibling.nextElementSibling: