Skip to content

Commit

Permalink
Fixed the missleading syntax for CharacterData.replaceWith (#30029)
Browse files Browse the repository at this point in the history
Fixed the syntax for CharacterData.replaceWith
  • Loading branch information
farkon00 authored Nov 6, 2023
1 parent ebd6de7 commit 84f750e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/characterdata/replacewith/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Strings are inserted as {{domxref("Text")}} nodes; the string is being passed as
## Syntax

```js-nolint
replaceWith(nodes)
replaceWith(...nodes)
```

### Parameters
Expand Down

0 comments on commit 84f750e

Please sign in to comment.