From 66b9046f6909a588560eb44882cc74ab7b489d14 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sat, 28 Aug 2021 21:02:34 +0900 Subject: WeakSet.clear の文書を削除 (#2112) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 英語版で既に削除されているため --- files/ja/_redirects.txt | 1 - files/ja/_wikihistory.json | 6 --- .../global_objects/weakset/clear/index.html | 50 ---------------------- 3 files changed, 57 deletions(-) delete mode 100644 files/ja/orphaned/web/javascript/reference/global_objects/weakset/clear/index.html diff --git a/files/ja/_redirects.txt b/files/ja/_redirects.txt index cb7be9d1a8..05a124b25f 100644 --- a/files/ja/_redirects.txt +++ b/files/ja/_redirects.txt @@ -4259,7 +4259,6 @@ /ja/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array_temp /ja/docs/Web/JavaScript/Reference/Global_objects/Uint32Array /ja/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array_temp /ja/docs/Web/JavaScript/Reference/Global_objects/Uint8Array /ja/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/prototype /ja/docs/Web/JavaScript/Reference/Global_Objects/WeakMap -/ja/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/clear /ja/docs/orphaned/Web/JavaScript/Reference/Global_Objects/WeakSet/clear /ja/docs/Web/JavaScript/Reference/Global_Objects/WeakSet/prototype /ja/docs/Web/JavaScript/Reference/Global_Objects/WeakSet /ja/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance/prototype /ja/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance /ja/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory/prototype /ja/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory diff --git a/files/ja/_wikihistory.json b/files/ja/_wikihistory.json index db3bc630ca..7d57f08678 100644 --- a/files/ja/_wikihistory.json +++ b/files/ja/_wikihistory.json @@ -49706,12 +49706,6 @@ "YuichiNukiyama" ] }, - "orphaned/Web/JavaScript/Reference/Global_Objects/WeakSet/clear": { - "modified": "2019-03-23T22:54:31.675Z", - "contributors": [ - "shide55" - ] - }, "orphaned/Web/JavaScript/Reference/Operators/Pipeline_operator": { "modified": "2020-10-17T14:59:10.566Z", "contributors": [ diff --git a/files/ja/orphaned/web/javascript/reference/global_objects/weakset/clear/index.html b/files/ja/orphaned/web/javascript/reference/global_objects/weakset/clear/index.html deleted file mode 100644 index 0ed95f130e..0000000000 --- a/files/ja/orphaned/web/javascript/reference/global_objects/weakset/clear/index.html +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: WeakSet.prototype.clear() -slug: orphaned/Web/JavaScript/Reference/Global_Objects/WeakSet/clear -tags: - - JavaScript - - Method - - Obsolute - - Prototype - - WeakSet -translation_of: Web/JavaScript/Reference/Global_Objects/WeakSet/clear -original_slug: Web/JavaScript/Reference/Global_Objects/WeakSet/clear ---- -
{{JSRef("Global_Objects", "WeakSet")}} {{obsolete_header}}
- -

概要

- -

WeakSetオブジェクトからすべての要素を削除します。

- -

構文

- -
ws.clear();
- -

- -

例: clear メソッドを使う

- -
var ws = new WeakSet();
-
-ws.add(window);
-ws.has(window);  // true
-
-ws.clear();
-
-ws.has(window); // false
-
- -

仕様

- -

すべての現在の標準やドラフトでサポートされていません。このメソッドは、リビジョン 28 (October 14, 2014のバージョン)までECMAScript第6版ドラフト仕様でサポートされました。しかし、最新バージョンのドラフトで削除されました。最終仕様では、サポートされていません。

- -

ブラウザ実装状況

- -

{{Compat("javascript.builtins.WeakSet.clear")}}

- -

関連情報

- - -- cgit v1.2.3-54-g00ecf