A function used to insert a new node using a target node.

Example

myInserter = (node, target) => target.append(node);
interface Inserter ((node, target) => void)
  • Parameters

    • node: Node
    • target: Node

    Returns void