Fix variable name mistake in modifying-document
This commit is contained in:
parent
1b2d3e8010
commit
ac2e10c716
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ To remove nodes, there are the following methods:
|
|||
|
||||
|
||||
`parentElem.removeChild(node)`
|
||||
: Removes `elem` from `parentElem` (assuming it's a child).
|
||||
: Removes `node` from `parentElem` (assuming it's a child).
|
||||
|
||||
`node.remove()`
|
||||
: Removes the `node` from its place.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue