We're a place where coders share, stay up-to-date and grow their careers.
In the last example node.replaceWith() does the ID stays the same id="nodeB"?
node.replaceWith()
id="nodeB"
Actually no, good catch, thanks :)
In the last example
node.replaceWith()
does the ID stays the sameid="nodeB"
?Actually no, good catch, thanks :)