Skip to content

Commit

Permalink
2024/07/29 時点の英語版に基づき更新
Browse files Browse the repository at this point in the history
  • Loading branch information
mfuji09 committed Oct 18, 2024
1 parent 66a374b commit 4a7cef8
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit 4a7cef8

Please sign in to comment.