diff --git a/files/zh-cn/web/api/url/password/index.md b/files/zh-cn/web/api/url/password/index.md index d1a34d089eac1e..33e8186395b15c 100644 --- a/files/zh-cn/web/api/url/password/index.md +++ b/files/zh-cn/web/api/url/password/index.md @@ -1,5 +1,5 @@ --- -title: URL.密码 +title: URL:password 属性 slug: Web/API/URL/password --- @@ -13,7 +13,7 @@ slug: Web/API/URL/password ## 语法 -```plain +```js string = object.password; object.password = string; ```