insertBefore method

Node insertBefore (
  1. Node node,
  2. Node child
)

Inserts all of the nodes into this node directly before refChild.

Other resources

Implementation

Node insertBefore(Node node, Node child) native;