Skip to content

Commit ac2e10c

Browse files
authored
Fix variable name mistake in modifying-document
1 parent 1b2d3e8 commit ac2e10c

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
@@ -341,7 +341,7 @@ To remove nodes, there are the following methods:
341341

342342

343343
`parentElem.removeChild(node)`
344-
: Removes `elem` from `parentElem` (assuming it's a child).
344+
: Removes `node` from `parentElem` (assuming it's a child).
345345

346346
`node.remove()`
347347
: Removes the `node` from its place.

0 commit comments

Comments
 (0)