Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web/API/HTMLAnchorElement/origin を更新 #24053

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions files/ja/web/api/htmlanchorelement/origin/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
title: "HTMLAnchorElement: origin プロパティ"
short-title: origin
slug: Web/API/HTMLAnchorElement/origin
l10n:
sourceCommit: a3d9f61a8990ba7b53bda9748d1f26a9e9810b18
sourceCommit: 59a92ab5609f0a021602f11843f3b00b16e67e6d
---

{{APIRef("HTML DOM")}}
Expand All @@ -22,7 +23,7 @@ l10n:
## 例

```js
// <a id="myAnchor" href="https://developer.mozilla.org/en-US/HTMLAnchorElement"> 要素が文書にあったとします
// <a id="myAnchor" href="https://developer.mozilla.org/ja/HTMLAnchorElement"> 要素が文書にあったとします
const anchor = document.getElementById("myAnchor");
anchor.origin; // 'https://developer.mozilla.org' を返す
```
Expand Down