Order mismatch

Answer is 1 and 3.

Whereas in the solution 1 and 2 show the same result due to different order.
This commit is contained in:
Himanshu Singh 2019-05-14 17:12:21 +05:30 committed by GitHub
parent 899a3cea20
commit 9df95619ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ Here's an example:
let text = '<b>text</b>';
elem1.append(document.createTextNode(text));
elem2.textContent = text;
elem3.innerHTML = text;
elem2.innerHTML = text;
elem3.textContent = text;
</script>
```