Skip to content

Commit 222d2e2

Browse files
author
ZhengHe
authored
Update article.md
fix typo on cloneNode
1 parent 686ae52 commit 222d2e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/1-document/07-modifying-document/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ We could do a function and put the code there. But the alternative way would be
309309

310310
Sometimes when we have a big element, that may be faster and simpler.
311311

312-
- The call `elem.cloneNode(true)` creates a "deep" clone of the element -- with all attributes and subelements. If we call `elem.clonseNode(false)`, then the clone is made without child elements.
312+
- The call `elem.cloneNode(true)` creates a "deep" clone of the element -- with all attributes and subelements. If we call `elem.cloneNode(false)`, then the clone is made without child elements.
313313

314314
An example of copying the message:
315315

0 commit comments

Comments
 (0)