Using .replaceChild(firstNode, secondNode) in JavaScript deletes the secondNode and replaces it with firstNode. is there any way I can
.replaceChild(firstNode, secondNode)
secondNode
firstNode