kotlin-stdlib / org.w3c.dom / Node / replaceChild replaceChild JS 1.1 fun replaceChild ( node : Node , child : Node ) : Node (source)