replaceChild method

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

Implementation

Node replaceChild(Node node, Node child) =>
    js_util.callMethod(this, 'replaceChild', [node, child]);