Help get this topic noticed by sharing it on Twitter, Facebook, or email.

DOM Enlightenment, p. 21, wrong console log

console.log(document.getElementById('A').outerHTML); /* logs <div id="A">Hi</div>

should be

console.log(document.getElementById('A').outerHTML); /* logs <div id="A"><i>Hi</i></div>
1 person has
this problem
+1
Reply