Skip to content

Commit

Permalink
[zh-cn]: update the translation of DocumentFragment() constructor (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
T34-active authored Jun 5, 2024
1 parent 21e4d5c commit b68e4d0
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions files/zh-cn/web/api/documentfragment/documentfragment/index.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
---
title: DocumentFragment()
title: DocumentFragment:DocumentFragment() 构造函数
slug: Web/API/DocumentFragment/DocumentFragment
l10n:
sourceCommit: 41a8b9c9832359d445d136b6d7a8a28737badc6b
---

{{ApiRef("DOM")}}{{seeCompatTable}}
{{ApiRef("DOM")}}

**`DocumentFragment()`** 构造函数返回一个新创建的 {{domxref("DocumentFragment")}} 对象。
**`DocumentFragment()`** 构造函数返回新的空 {{domxref("DocumentFragment")}} 对象。

## 语法

```plain
fragment = new DocumentFragment()
```js-nolint
new DocumentFragment()
```

## 示例
### 参数

```js
fragment = new DocumentFragment();
```
无。

### 返回值

新的 {{domxref("DocumentFragment")}} 对象。

## 标准
## 规范

{{Specifications}}

## 浏览器兼容性

{{Compat}}

## 参见

- [DOM 接口索引](/zh-CN/docs/DOM/DOM_Reference)

0 comments on commit b68e4d0

Please sign in to comment.