adplus-dvertising
frame-decoration

Question

Which of the following Node object property returns the node immediately before a node?

a.

previousSibling

b.

textContent

c.

index

d.

localName

Posted under JavaScript

Answer: (a).previousSibling

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following Node object property returns the node immediately before a node?