提交 aa735245 编写于 作者: J jiangkai43

fixed 61672d73 from https://gitee.com/jiangkai43/docs/pulls/13166

修改parseURL示例代码
Signed-off-by: Njiangkai43 <jiangkai43@huawei.com>
上级 3a9d728e
...@@ -442,7 +442,8 @@ URL静态成员函数。 ...@@ -442,7 +442,8 @@ URL静态成员函数。
```js ```js
let mm = 'https://username:password@host:8080'; let mm = 'https://username:password@host:8080';
Url.URL.parseURL(mm); // Output 'https://username:password@host:8080/'; let url = Url.URL.parseURL(mm);
url.toString(); // Output 'https://username:password@host:8080/';
``` ```
### tostring ### tostring
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册