{"json_modified": "2016-07-27T13:23:28.486660", "uuid": "78a1e81c-7d92-41c8-adbc-6a6db42d99e2", "title": "Symbol.for()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/for", "tags": ["ECMAScript6", "Method", "Symbol", "JavaScript"], "translations": [{"uuid": "ebb150c0-15dc-42a0-a420-01177d54a45d", "title": "Symbol.for()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Symbol/for", "tags": ["R\u00e9f\u00e9rence", "ECMAScript6", "M\u00e9thode", "Symbol", "JavaScript"], "summary": "La m\u00e9thode Symbol.for(cl\u00e9)
permet de chercher parmi les symboles existants enregistr\u00e9s dans le registre global de l'environnement d'ex\u00e9cution. Si un symbole associ\u00e9 \u00e0 la cl\u00e9 donn\u00e9e existe, il est renvoy\u00e9 par la fonction, sinon un nouveau symbole associ\u00e9 \u00e0 cette cl\u00e9 est cr\u00e9\u00e9 dans le registre.", "localization_tags": [], "locale": "fr", "last_edit": "2016-07-27T13:23:22", "review_tags": []}, {"uuid": "a510e385-c538-48da-9bdb-4af5fea7580d", "title": "Symbol.for()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Symbol/for", "tags": ["JavaScript", "ECMAScript6", "Symbol", "Method"], "summary": "\u5f15\u6570\u3067\u4e0e\u3048\u3089\u308c\u305f\u30ad\u30fc\u3067\u30e9\u30f3\u30bf\u30a4\u30e0\u5168\u4f53\u306e\u30b7\u30f3\u30dc\u30eb\u30ec\u30b8\u30b9\u30c8\u30ea\u5185\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u30b7\u30f3\u30dc\u30eb\u3092\u691c\u7d22\u3057\u3001\u898b\u3064\u304b\u3063\u305f\u5834\u5408\u305d\u308c\u3092\u8fd4\u3057\u307e\u3059\u3002\u3055\u3082\u306a\u3051\u308c\u3070\u3001\u65b0\u3057\u3044\u30b7\u30f3\u30dc\u30eb\u304c\u3053\u306e\u30ad\u30fc\u3067\u30b0\u30ed\u30fc\u30d0\u30eb\u30b7\u30f3\u30dc\u30eb\u30ec\u30b8\u30b9\u30c8\u30ea\u5185\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-05-04T06:33:38", "review_tags": []}, {"uuid": "14294f54-3ea8-4ae9-a7dc-c51525ce45e9", "title": "Symbol.for()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Symbol/for", "tags": [], "summary": "\u041c\u0435\u0442\u043e\u0434\u00a0Symbol.for(key)
\u0438\u0449\u0435\u0442 \u0440\u0430\u043d\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u043c\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u043f\u043e \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u043a\u043b\u044e\u0447\u0443 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0435\u0433\u043e, \u0435\u0441\u043b\u0438 \u043e\u043d \u043d\u0430\u0439\u0434\u0435\u043d. \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u043c\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u0435\u0441\u0442\u0440\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2015-07-21T07:00:21", "review_tags": []}, {"uuid": "56aa3c8c-0253-418e-a403-cb0052435d82", "title": "Symbol.for()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Symbol/for", "tags": [], "summary": "Symbol.for(key)
\u65b9\u6cd5\u4f1a\u6839\u636e\u7ed9\u5b9a\u7684\u952e key
\uff0c\u6765\u4ece symbol \u6ce8\u518c\u8868\u4e2d\u627e\u5230\u5bf9\u5e94\u7684 symbol\uff0c\u5982\u679c\u627e\u5230\u4e86\uff0c\u5219\u8fd4\u56de\u5b83\uff0c\u5426\u5219\uff0c\u65b0\u5efa\u4e00\u4e2a\u4e0e\u8be5\u952e\u5173\u8054\u7684 symbol\uff0c\u5e76\u653e\u5165 symbol \u6ce8\u518c\u8868\u4e2d\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-07-08T06:10:32", "review_tags": []}], "modified": "2016-07-27T01:49:50", "label": "Symbol.for()", "localization_tags": [], "locale": "en-US", "id": 123641, "last_edit": "2016-07-27T01:49:44", "summary": "The Symbol.for(key)
method searches for existing symbols in a runtime-wide symbol registry with the given key and returns it if found. Otherwise a new symbol gets created in the global symbol registry with this key.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Description", "title": "Description"}, {"id": "Global_symbol_registry", "title": "Global symbol registry"}, {"id": "Examples", "title": "Examples"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/Symbol/for", "review_tags": []}