{"json_modified": "2016-10-23T01:33:14.331474", "uuid": "eca8e150-a845-4828-bb32-87e7b0ea1e93", "title": "\u9589\u5305", "url": "/zh-TW/docs/Web/JavaScript/Closures", "tags": [], "translations": [{"uuid": "a717824c-1d73-41ac-a5d4-e4b7d22f043b", "title": "Closures", "url": "/en-US/docs/Web/JavaScript/Closures", "tags": ["Closure", "Intermediate", "JavaScript"], "summary": "Closures are functions that refer to independent (free) variables\u00a0(variables that are used locally, but defined in an enclosing scope).\u00a0In other words, these\u00a0functions\u00a0'remember' the environment in which they were created.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-10-11T11:34:55", "review_tags": []}, {"uuid": "3a4d8591-96ca-4a2c-83d3-a4bdca9dcfba", "title": "Closures (Funktionsabschl\u00fcsse)", "url": "/de/docs/Web/JavaScript/Closures", "tags": ["Closure", "Intermediate", "JavaScript"], "summary": "Closures sind Funktionen mit\u00a0unabh\u00e4ngigen,\u00a0freien\u00a0Variablen. Anders ausgedr\u00fcckt: Die in der Closure definierte Funktion merkt sich die Umgebung, in der sie erzeugt wurde.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2016-08-04T05:18:17", "review_tags": []}, {"uuid": "1f9f67d3-0f99-4a40-ae01-1df871212b69", "title": "Closures", "url": "/es/docs/Web/JavaScript/Closures", "tags": ["Closures", "Guia", "Gu\u00eda", "JavaScript"], "summary": "Los closures son funciones que manejan variables independientes. En otras palabras, la funci\u00f3n definida en el closure \"recuerda\" el entorno en el que se ha creado.", "localization_tags": [], "locale": "es", "last_edit": "2015-04-26T08:11:12", "review_tags": []}, {"uuid": "502842f6-7fee-4e6c-a90c-b25821c839af", "title": "Closures (Fermetures)", "url": "/fr/docs/Web/JavaScript/Closures", "tags": ["Interm\u00e9diaire", "Closure", "JavaScript"], "summary": "Avec l'exemple suivant :", "localization_tags": [], "locale": "fr", "last_edit": "2016-10-12T11:07:48", "review_tags": []}, {"uuid": "e5186e13-3e98-4282-9ba9-39e97b574c59", "title": "Closures", "url": "/id/docs/Web/JavaScript/Panduan/Closures", "tags": [], "summary": "Closures are functions that refer to independent (free) variables.", "localization_tags": ["inprogress"], "locale": "id", "last_edit": "2014-10-24T00:25:42", "review_tags": []}, {"uuid": "6a43f9e6-d893-4854-9098-723c0f83c20f", "title": "Chiusure", "url": "/it/docs/Web/JavaScript/Chiusure", "tags": [], "summary": "Closures are functions that refer to independent (free) variables\u00a0(variables that are used locally, but defined in an enclosing scope).\u00a0In other words, these\u00a0functions\u00a0'remember' the environment in which they were created.", "localization_tags": ["inprogress"], "locale": "it", "last_edit": "2016-08-20T07:28:53", "review_tags": []}, {"uuid": "8980d558-a1a9-4a7a-8707-607b2d7af9e7", "title": "\u30af\u30ed\u30fc\u30b8\u30e3", "url": "/ja/docs/Web/JavaScript/Closures", "tags": ["Closure", "Intermediate", "JavaScript"], "summary": "\u30af\u30ed\u30fc\u30b8\u30e3\u306f\u3001\u72ec\u7acb\u3057\u305f (\u81ea\u7531\u306a) \u5909\u6570\u3092\u53c2\u7167\u3059\u308b\u95a2\u6570\u3067\u3059\u3002\u8a00\u3044\u63db\u3048\u308b\u3068\u30af\u30ed\u30fc\u30b8\u30e3\u5185\u3067\u5b9a\u7fa9\u3055\u308c\u305f\u95a2\u6570\u306f\u3001\u81ea\u8eab\u304c\u4f5c\u6210\u3055\u308c\u305f\u74b0\u5883\u3092 '\u899a\u3048\u3066\u3044\u307e\u3059'\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-05-15T03:48:32", "review_tags": []}, {"uuid": "f7444e69-fcc5-4b2e-8f4a-b5c0df1ecb3d", "title": "\ud074\ub85c\uc800", "url": "/ko/docs/Web/JavaScript/Guide/Closures", "tags": [], "summary": "\ud074\ub85c\uc800\ub294 \ub3c5\ub9bd\uc801\uc778 (\uc790\uc720) \ubcc0\uc218\ub97c \uac00\ub9ac\ud0a4\ub294 \ud568\uc218\uc774\ub2e4. \ub610\ub294, \ud074\ub85c\uc800 \uc548\uc5d0 \uc815\uc758\ub41c \ud568\uc218\ub294 \ub9cc\ub4e4\uc5b4\uc9c4 \ud658\uacbd\uc744 '\uae30\uc5b5\ud55c\ub2e4'.", "localization_tags": [], "locale": "ko", "last_edit": "2016-07-22T03:14:50", "review_tags": []}, {"uuid": "716856cb-3c04-4b73-8a34-e8334d9d0b4d", "title": "Domkni\u0119cia", "url": "/pl/docs/Web/JavaScript/Domkniecia", "tags": [], "summary": "Domkni\u0119cia to funkcje kt\u00f3rych funkcje wewn\u0119trzne odwo\u0142uj\u0105 si\u0119 do niezale\u017cnych (wolnych) zmiennych. Innymi s\u0142owy, funkcje zdeklarowane wewn\u0105trz domkni\u0119cia 'pami\u0119taj\u0105' \u015brodowisko w kt\u00f3rym zosta\u0142y utworzone.", "localization_tags": ["inprogress"], "locale": "pl", "last_edit": "2016-05-08T10:12:34", "review_tags": []}, {"uuid": "2f56620e-6f33-4530-beb4-f98ef17bb170", "title": "Closures", "url": "/pt-BR/docs/Web/JavaScript/Guide/Closures", "tags": [], "summary": "Closures (fechamentos) s\u00e3o fun\u00e7\u00f5es que se referem a vari\u00e1veis livres (independentes).", "localization_tags": [], "locale": "pt-BR", "last_edit": "2016-03-14T06:10:01", "review_tags": []}, {"uuid": "3ec2eea7-b535-40d0-b1cc-33ca63895af4", "title": "\u0417\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u044f", "url": "/ru/docs/Web/JavaScript/Closures", "tags": ["\u0417\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u0435"], "summary": "\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440:", "localization_tags": [], "locale": "ru", "last_edit": "2015-12-29T08:21:42", "review_tags": []}, {"uuid": "c29ac7e0-ba09-4337-905e-dbaffe908d37", "title": "\u95ed\u5305", "url": "/zh-CN/docs/Web/JavaScript/Closures", "tags": ["\u8fdb\u9636", "\u95ed\u5305", "\u6307\u5357", "JavaScript"], "summary": "\u95ed\u5305\u662f\u6307\u90a3\u4e9b\u80fd\u591f\u8bbf\u95ee\u72ec\u7acb(\u81ea\u7531)\u53d8\u91cf\u7684\u51fd\u6570 (\u53d8\u91cf\u5728\u672c\u5730\u4f7f\u7528\uff0c\u4f46\u5b9a\u4e49\u5728\u4e00\u4e2a\u5c01\u95ed\u7684\u4f5c\u7528\u57df\u4e2d)\u3002\u6362\u53e5\u8bdd\u8bf4\uff0c\u8fd9\u4e9b\u51fd\u6570\u53ef\u4ee5\u201c\u8bb0\u5fc6\u201d\u5b83\u88ab\u521b\u5efa\u65f6\u5019\u7684\u73af\u5883\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-09-04T22:49:18", "review_tags": []}], "modified": "2016-10-23T01:33:11", "label": "\u9589\u5305", "localization_tags": ["inprogress"], "locale": "zh-TW", "id": 196873, "last_edit": "2016-10-23T01:33:04", "summary": "\u9589\u5305\uff08Closure\uff09\u662f\u51fd\u5f0f\u80fd\u53c3\u7167\u7368\u7acb\uff08\u81ea\u7531\uff09\u8b8a\u6578\u7684\u51fd\u5f0f\uff08\u8b8a\u6578\u5728\u5340\u57df\u4f7f\u7528\uff0c\u4e0d\u904e\u5b9a\u7fa9\u5728\u5c01\u9589\u7684\u4f5c\u7528\u57df\u4e2d\uff09\u63db\u8a00\u4e4b\uff0c\u9019\u4e9b\u51fd\u5f0f\u80fd\u300c\u8a18\u5f97\u300d\u88ab\u5efa\u7acb\u6642\u7684\u74b0\u5883\u3002", "sections": [{"id": "Quick_Links", "title": null}, {"id": "\u8a9e\u6cd5\u4f5c\u7528\u57df\uff08Lexical_scoping\uff09", "title": "\u8a9e\u6cd5\u4f5c\u7528\u57df\uff08Lexical scoping\uff09"}, {"id": "\u9589\u5305", "title": "\u9589\u5305"}, {"id": "\u5be6\u7528\u7684\u9589\u5305", "title": "\u5be6\u7528\u7684\u9589\u5305"}, {"id": "Emulating_private_methods_with_closures", "title": "Emulating private methods with closures"}, {"id": "Creating_closures_in_loops_A_common_mistake", "title": "Creating closures in loops: A common mistake"}, {"id": "Performance_considerations", "title": "Performance considerations"}], "slug": "Web/JavaScript/Closures", "review_tags": []}