From 95aca4b4d8fa62815d4bd412fff1a364f842814a Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Thu, 29 Apr 2021 16:16:42 -0700 Subject: remove retired locales (#699) --- files/he/web/api/storage/clear/index.html | 52 ------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 files/he/web/api/storage/clear/index.html (limited to 'files/he/web/api/storage/clear') diff --git a/files/he/web/api/storage/clear/index.html b/files/he/web/api/storage/clear/index.html deleted file mode 100644 index f93b7cf4a4..0000000000 --- a/files/he/web/api/storage/clear/index.html +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: Storage.clear() -slug: Web/API/Storage/clear -translation_of: Web/API/Storage/clear ---- -

{{APIRef("Web Storage API")}}

- -

פונקציית ()clear מאפשרת לנקות את כל המפתחות מהאחסון המקומי.

- -

תחביר

- -
storage.clear();
- -

ערך חוזר

- -

undefined.

- -

דוגמאות

- -

הפונקציה הבאה יוצרת שלושה פריטים באחסון המקומי, ולאחר מכן מוחקת אותם.

- -
function populateStorage() {
-  localStorage.setItem('bgcolor', 'red');
-  localStorage.setItem('font', 'Helvetica');
-  localStorage.setItem('image', 'miGato.png');
-
-  localStorage.clear();
-}
-
- -

מפרט

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('HTML WHATWG', 'webstorage.html#dom-storage-clear', 'Storage.clear')}}{{Spec2('HTML WHATWG')}} 
- -

תאימות דפדפן

- - - -

{{Compat("api.Storage.clear")}}

-- cgit v1.2.3-54-g00ecf