Open akayami opened 6 years ago
node.replaceChild(document.createTextNode('a'), null); node.replaceChild(document.createTextNode('a'), null);
will result in in node having two textNodes with value 'a'.
Each call should fail instead of magically appending.
node.replaceChild(document.createTextNode('a'), null); node.replaceChild(document.createTextNode('a'), null);
will result in in node having two textNodes with value 'a'.
Each call should fail instead of magically appending.