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

Glossary/Static_method を更新 #23461

Merged
merged 1 commit into from
Sep 11, 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
21 changes: 9 additions & 12 deletions files/ja/glossary/static_method/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Static method (静的メソッド)
slug: Glossary/Static_method
l10n:
sourceCommit: 424582339e3d3de819667b2e5e2ea52a180fe84c
---

{{GlossarySidebar}}
Expand All @@ -13,7 +15,7 @@ slug: Glossary/Static_method

## 例

[Notifications API](/ja/docs/Web/API/Notifications_API) では、{{domxref("Notification.requestPermission()")}} メソッドは実際は {{domxref("Notification")}} コンストラクター自身に対して呼び出されます。— これが静的メソッドです。
[通知 API](/ja/docs/Web/API/Notifications_API) では、{{domxref("Notification.requestPermission_static")}} メソッドは実際は {{domxref("Notification")}} コンストラクター自身に対して呼び出されます。— これが静的メソッドです。

```js
let promise = Notification.requestPermission();
Expand All @@ -27,15 +29,10 @@ let myNotification = new Notification("This is my notification");
myNotification.close();
```

1. 一般知識
## 関連情報

1. Techopedia の [Static Method](https://www.techopedia.com/definition/24034/static-method)

2. JavaScript リファレンス

1. [static](/ja/docs/Web/JavaScript/Reference/Classes/static)

3. 関連用語:

1. {{Glossary("Object", "オブジェクト")}}
2. {{Glossary("Method", "メソッド")}}
- [Static Method](https://www.techopedia.com/definition/24034/static-method) (Techopedia)
- [static](/ja/docs/Web/JavaScript/Reference/Classes/static)
- 関連用語:
- {{Glossary("Object", "オブジェクト")}}
- {{Glossary("Method", "メソッド")}}