mirror of
https://github.com/wangdoc/webapi-tutorial.git
synced 2025-12-20 00:59:54 +08:00
Merge pull request #16 from uphg/patch-1
docs: fix code block name in urlsearchparams.md
This commit is contained in:
@@ -259,7 +259,7 @@ for (const value of params.values()) {
|
||||
|
||||
这个方法也可以用来将所有键值,转成一个数组。
|
||||
|
||||
```javascritp
|
||||
```javascript
|
||||
Array.from(params.values()) // ['value1', 'value2']
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user