Skip to content

Commit

Permalink
Merge pull request #9 from mashiguang/master
Browse files Browse the repository at this point in the history
docs(FormData): value() -> values()
  • Loading branch information
ruanyf authored Oct 11, 2023
2 parents f0b4a1e + 124037f commit f352fe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/formdata.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ FormData.set(name, blob, fileName);

如果指定键名不存在,它会添加该键名,否则它会丢弃所有现有的键值,确保一个键名只有一个键值。这是它跟`append()`的主要区别。

### value()
### values()

`value()`返回一个键值的迭代器,用于遍历所有键值。
`values()`返回一个键值的迭代器,用于遍历所有键值。

```javascript
FormData.values()
Expand Down

0 comments on commit f352fe3

Please sign in to comment.