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:
parent
899a3cea20
commit
9df95619ee
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue