{"json_modified": "2016-10-08T20:36:08.531845", "uuid": "c1eeefe8-170b-4c49-8691-acd59e073908", "title": "Window.self", "url": "/en-US/docs/Web/API/Window/self", "tags": ["API", "Read-only", "Property", "Reference", "HTML DOM", "Window"], "translations": [{"uuid": "037d9bb2-f3ab-4489-b37e-4268e9d61834", "title": "window.self", "url": "/ja/docs/Web/API/Window/self", "tags": ["Property", "Read-only", "Reference", "API", "Gecko", "HTML DOM", "Window", "\u8981\u66f4\u65b0"], "summary": "Window.self
\u8aad\u307f\u53d6\u308a\u5c02\u7528\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001WindowProxy
\u306e\u3088\u3046\u306b\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u81ea\u8eab\u3092\u8fd4\u3057\u307e\u3059\u3002 It can be used with dot notation on a window
object (that is, window.self
) or standalone (self
). The advantage of the standalone notation is that a similar notation exists for non-window contexts, such as in Web Workers
. By using self
, you can refer to the global scope in a way that will work not only in a window context (self
will resolve to window.self
) but also in a worker context (self
will then resolve to WorkerGlobalScope.self
).", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2016-10-08T20:35:59", "review_tags": []}, {"uuid": "fad6189f-7d08-42f6-9c7c-e10e4e5c8b2b", "title": "Window.self", "url": "/ro/docs/Web/API/Window/self", "tags": [], "summary": "Window.self
este o proprietate care poate fi doar citit\u0103,\u00a0return\u00e2nd\u00a0fereastra (window) \u00een sine, ca WindowProxy
. Poate fi utilizat\u0103 folosind nota\u021bia cu punct pe un obiect window
(adic\u0103 window.self
) sau de sine st\u0103t\u0103toare (self
). Avantajul nota\u021biei de sine stat\u0103toare este c\u0103 o nota\u021bie similar\u0103 exist\u0103 pentru contextele \u00een care nu este prezent\u0103\u00a0fereastra. Cum ar fi: Web Workers
. Folosind self
, se poate ob\u021bine o referin\u021b\u0103 a unui obiect global, astfel \u00eenc\u00e2t va func\u021biona nu doar \u00eentr-un context cu fereastr\u0103 (self
va fi rezolvat ca window.self
dar \u0219i ca WorkerGlobalScope.self
\u00eentr-un context al unui Worker
).", "localization_tags": [], "locale": "ro", "last_edit": "2016-06-15T08:03:18", "review_tags": ["editorial"]}, {"uuid": "f598782c-354f-4f36-8f3a-154c6206a20b", "title": "Window.self", "url": "/zh-CN/docs/Web/API/Window/self", "tags": [], "summary": "\u8fd4\u56de\u4e00\u4e2a\u6307\u5411\u5f53\u524d window \u5bf9\u8c61\u7684\u5f15\u7528\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-08-29T19:10:51", "review_tags": []}], "modified": "2015-12-30T00:48:39", "label": "Window.self", "localization_tags": [], "locale": "en-US", "id": 35974, "last_edit": "2015-12-30T00:48:35", "summary": "The Window.self
read-only property returns the window itself, as a WindowProxy
. It can be used with dot notation on a window
object (that is, window.self
) or standalone (self
). The advantage of the standalone notation is that a similar notation exists for non-window contexts, such as in Web Workers
. By using self
, you can refer to the global scope in a way that will work not only in a window context (self
will resolve to window.self
) but also in a worker context (self
will then resolve to WorkerGlobalScope.self
).", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Notes", "title": "Example"}, {"id": "Specification", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/Window/self", "review_tags": []}