未验证 提交 c884471f 编写于 作者: Z zengyawen 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-url.md.

Signed-off-by: Nzengyawen <zengyawen1@huawei.com>
上级 e2319cac
...@@ -417,5 +417,5 @@ toJSON(): string ...@@ -417,5 +417,5 @@ toJSON(): string
- 示例: - 示例:
``` ```
const url = new URL('http://username:password@host:8080/directory/file?query=pppppp#qwer=da'); const url = new URL('http://username:password@host:8080/directory/file?query=pppppp#qwer=da');
url.toString() url.toJSON()
``` ```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册