prepend
Description
The prepend of ParentNode for JS inserts nodes before the first child of the node, while replacing the strings in the nodes with equivalent text nodes.
Syntax
node.prepend(nodes)
Parameters
nodes
Objects that implement Node. Nodes participate in a tree, which is known as the node tree.