Skip to content

Commit

Permalink
2024/03/06 時点の英語版に基づき更新
Browse files Browse the repository at this point in the history
  • Loading branch information
mfuji09 authored and sora32127 committed Oct 6, 2024
1 parent 85d7669 commit 6ed4cee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions files/ja/web/api/url/protocol/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ title: "URL: protocol プロパティ"
short-title: protocol
slug: Web/API/URL/protocol
l10n:
sourceCommit: acfe8c9f1f4145f77653a2bc64a9744b001358dc
sourceCommit: 4de6f76bbfd76229db78ffb7d52cf6b4cb9f31f8
---

{{ApiRef("URL API")}}
{{ApiRef("URL API")}} {{AvailableInWorkers}}

**`protocol`** は {{domxref("URL")}} インターフェイスのプロパティで、最後の `':'` を含む URL のプロトコルスキームを表す文字列です。

{{AvailableInWorkers}}

##

文字列です。
Expand All @@ -25,7 +23,7 @@ const url = new URL(
console.log(url.protocol); // "https:" とログ出力
```

## 仕様
## 仕様書

{{Specifications}}

Expand Down
8 changes: 3 additions & 5 deletions files/ja/web/api/url/username/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ title: "URL: username プロパティ"
short-title: username
slug: Web/API/URL/username
l10n:
sourceCommit: acfe8c9f1f4145f77653a2bc64a9744b001358dc
sourceCommit: 4de6f76bbfd76229db78ffb7d52cf6b4cb9f31f8
---

{{ApiRef("URL API")}}
{{ApiRef("URL API")}} {{AvailableInWorkers}}

**`username`** は {{domxref("URL")}} インターフェイスのプロパティで、ドメイン名の前に指定されたユーザー名をの入った文字列です。

{{AvailableInWorkers}}

##

文字列です。
Expand All @@ -25,7 +23,7 @@ const url = new URL(
console.log(url.username); // "anonymous" とログ出力
```

## 仕様
## 仕様書

{{Specifications}}

Expand Down

0 comments on commit 6ed4cee

Please sign in to comment.