10 lines
231 B
Markdown
10 lines
231 B
Markdown
importance: 5
|
|
|
|
---
|
|
|
|
# The sibling question
|
|
|
|
If `elem` -- is an arbitrary DOM element node...
|
|
|
|
- Is it true that `elem.lastChild.nextSibling` is always `null`?
|
|
- Is it true that `elem.children[0].previousSibling` is always `null` ?
|