提交 336e262c 编写于 作者: G Gloria

Update docs against 10315

Signed-off-by: wusongqing<wusongqing@huawei.com>
上级 fe6cc89c
...@@ -128,7 +128,7 @@ Obtains an ES6 iterator. Each item of the iterator is a JavaScript array, and th ...@@ -128,7 +128,7 @@ Obtains an ES6 iterator. Each item of the iterator is a JavaScript array, and th
| Type| Description| | Type| Description|
| -------- | -------- | | -------- | -------- |
| IterableIterator&lt;[string,&nbsp;string]&gt; | ES6 iterator.| | IterableIterator&lt;[string, string]&gt; | ES6 iterator.|
**Example** **Example**
...@@ -192,7 +192,7 @@ Obtains the value of the first key-value pair based on the specified key. ...@@ -192,7 +192,7 @@ Obtains the value of the first key-value pair based on the specified key.
| Type| Description| | Type| Description|
| -------- | -------- | | -------- | -------- |
| string | Returns the value of the first key-value pair if obtained.| | string | Returns the value of the first key-value pair if obtained.|
| null | Returns null if no value is obtained.| | null | Returns **null** if no value is obtained.|
**Example** **Example**
...@@ -333,7 +333,7 @@ Obtains an ES6 iterator. Each item of the iterator is a JavaScript array, and th ...@@ -333,7 +333,7 @@ Obtains an ES6 iterator. Each item of the iterator is a JavaScript array, and th
| Type| Description| | Type| Description|
| -------- | -------- | | -------- | -------- |
| IterableIterator&lt;[string,&nbsp;string]&gt; | ES6 iterator.| | IterableIterator&lt;[string, string]&gt; | ES6 iterator.|
**Example** **Example**
...@@ -404,7 +404,7 @@ Creates a URL. ...@@ -404,7 +404,7 @@ Creates a URL.
| Name| Type| Mandatory| Description| | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| url | string | Yes| Input object.| | url | string | Yes| Input object.|
| base | string&nbsp;\|&nbsp;URL | No| Input parameter, which can be any of the following:<br>- **string**: string<br>- **URL**: string or object| | base | string \| URL | No| Input parameter, which can be any of the following:<br>- **string**: string<br>- **URL**: string or object|
**Example** **Example**
...@@ -442,7 +442,7 @@ Converts the parsed URL into a string. ...@@ -442,7 +442,7 @@ Converts the parsed URL into a string.
```js ```js
const url = new Url.URL('http://username:password@host:8080/directory/file?query=pppppp#qwer=da'); const url = new Url.URL('http://username:password@host:8080/directory/file?query=pppppp#qwer=da');
url.toString() url.toString();
``` ```
...@@ -463,5 +463,5 @@ Converts the parsed URL into a JSON string. ...@@ -463,5 +463,5 @@ Converts the parsed URL into a JSON string.
**Example** **Example**
```js ```js
const url = new Url.URL('http://username:password@host:8080/directory/file?query=pppppp#qwer=da'); const url = new Url.URL('http://username:password@host:8080/directory/file?query=pppppp#qwer=da');
url.toJSON() url.toJSON();
``` ```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册