Skip to content

Commit e97b52a

Browse files
committed
docs(headers): fixed typo
1 parent c9eee23 commit e97b52a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/headers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Headers 代表 HTTP 消息的数据头。
66

77
它通过`Headers()`构造方法,生成实例对象。`Request.headers`属性和`Response.headers`属性,指向的都是 Headers 实例对象。
88

9-
Headers 实例对象内部,以键值对的形式保存 HTTP 消息头,可以用`for...of`循环进行便利,比如`for (const p of myHeaders)`。新建的 Headers 实例对象,内部是空的,需要用`append()`方法添加键值对。
9+
Headers 实例对象内部,以键值对的形式保存 HTTP 消息头,可以用`for...of`循环进行遍历,比如`for (const p of myHeaders)`。新建的 Headers 实例对象,内部是空的,需要用`append()`方法添加键值对。
1010

1111
## 构造函数
1212

0 commit comments

Comments
 (0)