Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dd05309

Browse files
authored
Merge pull request wangdoc#95 from byog/patch-1
Update location.md
2 parents 7b7b92f + f22060b commit dd05309

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/bom/location.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ params.toString() // "a=2&a=1&b=3&c=4"
553553

554554
### URLSearchParams.keys(),URLSearchParams.values(),URLSearchParams.entries()
555555

556-
这三个方法都返回一个遍历器对象,供`for...of`循环消费。它们的区别在于,`keys`方法返回的是键名的遍历器,`values`方法返回的是键值的遍历器,`entries`返回的是键值的遍历器
556+
这三个方法都返回一个遍历器对象,供`for...of`循环消费。它们的区别在于,`keys`方法返回的是键名的遍历器,`values`方法返回的是键值的遍历器,`entries`返回的是键值对的遍历器
557557

558558
```javascript
559559
var params = new URLSearchParams('a=1&b=2');

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /