Null test Test of firstElementChild and lastChildElement returning null Test test(function() { var parentEl = document.getElementById("parentEl") assert_equals(parentEl.firstElementChild, null) assert_equals(parentEl.lastElementChild, null) })