Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
T34-active and github-actions[bot] authored Aug 24, 2024
1 parent af15279 commit 29d4d57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions files/zh-cn/web/api/node/insertbefore/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ insertBefore(newNode, referenceNode)
- :要插入的节点。
- `referenceNode`
-`newNode` 被插入之前的节点。如果为 `null``newNode` 将被插入到节点的子节点列表末尾。
> [!NOTE]
> `referenceNode` **不是**一个可选参数。你必须显式传递 {{domxref("Node")}} 或 `null`。未能提供它或传递无效值,可能会在[不同](https://bugzil.la/119489)的浏览器版本中[表现](https://crbug.com/419780)不同。
> [!NOTE] > `referenceNode` **不是**一个可选参数。你必须显式传递 {{domxref("Node")}} 或 `null`。未能提供它或传递无效值,可能会在[不同](https://bugzil.la/119489)的浏览器版本中[表现](https://crbug.com/419780)不同。
### 返回值

Expand Down

0 comments on commit 29d4d57

Please sign in to comment.