previousSibling

The previousSibling JS Node returns the previous sibling.

Syntax

node.previousSibling

Examples

1

2

HomeMenu