{"json_modified": "2015-10-11T13:01:11.009585", "slug": "Web/JavaScript/Reference/Global_Objects/Object/freeze", "tags": [], "locale": "ca", "title": "Object.freeze()", "translations": [{"title": "Object.freeze()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze", "tags": [], "summary": "Object.freeze()
\u65b9\u6cd5\u53ef\u4ee5\u51bb\u7ed3\u4e00\u4e2a\u5bf9\u8c61\u3002\u51bb\u7ed3\u5bf9\u8c61\u662f\u6307\u90a3\u4e9b\u4e0d\u80fd\u6dfb\u52a0\u65b0\u7684\u5c5e\u6027\uff0c\u4e0d\u80fd\u4fee\u6539\u5df2\u6709\u5c5e\u6027\u7684\u503c\uff0c\u4e0d\u80fd\u5220\u9664\u5df2\u6709\u5c5e\u6027\uff0c\u4ee5\u53ca\u4e0d\u80fd\u4fee\u6539\u5df2\u6709\u5c5e\u6027\u7684\u53ef\u679a\u4e3e\u6027\u3001\u53ef\u914d\u7f6e\u6027\u3001\u53ef\u5199\u6027\u7684\u5bf9\u8c61\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u8fd9\u4e2a\u5bf9\u8c61\u6c38\u8fdc\u662f\u4e0d\u53ef\u53d8\u7684\u3002\u8be5\u65b9\u6cd5\u8fd4\u56de\u88ab\u51bb\u7ed3\u7684\u5bf9\u8c61\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-08-03T06:57:05", "review_tags": []}, {"title": "Object.freeze()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze", "tags": ["ECMAScript5", "JavaScript 1.8.5", "JavaScript", "Method", "Object"], "summary": "The Object.freeze()
method freezes an object: that is, prevents new properties from being added to it; prevents existing properties from being removed; and prevents existing properties, or their enumerability, configurability, or writability, from being changed. In essence the object is made effectively immutable. The method returns the object being frozen.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-07-31T16:12:39", "review_tags": []}, {"title": "Object.freeze()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze", "tags": ["ECMAScript5", "JavaScript 1.8.5", "Object Methods"], "summary": "\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u51cd\u7d50\u3057\u307e\u3059: \u3053\u308c\u306f\u3001\u65b0\u3057\u3044\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u8ffd\u52a0\u3001\u65e2\u5b58\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u524a\u9664\u3001\u65e2\u5b58\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5217\u6319\u53ef\u5426\u3001\u8a2d\u5b9a\u5909\u66f4\u53ef\u5426\u3001\u66f8\u304d\u8fbc\u307f\u53ef\u5426\u306e\u5909\u66f4\u3092\u6291\u5236\u3057\u307e\u3059\u3002\u672c\u8cea\u7684\u306b\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5b9f\u8cea\u7684\u306b\u4e0d\u5909\u306b\u3057\u307e\u3059\u3002\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u51cd\u7d50\u3055\u308c\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-13T12:21:38", "review_tags": []}, {"title": "Object.freeze()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Object/freeze", "tags": ["ECMAScript5", "JavaScript 1.8.5", "Reference", "Object", "R\u00e9f\u00e9rence", "JavaScript", "Method"], "summary": "Rien ne pourra \u00eatre ajout\u00e9 ou supprim\u00e9 dans l'ensemble des propri\u00e9t\u00e9s de l'objet gel\u00e9. Toute tentative \u00e9chouera, silencieusement ou via une exception TypeError
(la plupart du temps en mode strict).", "localization_tags": [], "locale": "fr", "last_edit": "2015-08-02T01:55:38", "review_tags": []}, {"title": "Object.freeze()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze", "tags": ["ECMAScript5", "JavaScript 1.8.5", "JavaScript", "Method", "Object"], "summary": "\u041c\u0435\u0442\u043e\u0434 Object.freeze()
\u0437\u0430\u043c\u043e\u0440\u0430\u0436\u0438\u0432\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442: \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u043e\u043d \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043a \u043e\u0431\u044a\u0435\u043a\u0442\u0443, \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0440\u044b\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0438\u0437 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0438\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0445 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0435\u043c\u043e\u0441\u0442\u0438, \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u043e\u0441\u0442\u0438 \u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c\u043e\u0441\u0442\u0438. \u0412 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438, \u043e\u0431\u044a\u0435\u043a\u0442 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c. \u041c\u0435\u0442\u043e\u0434 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0437\u0430\u043c\u043e\u0440\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442.", "localization_tags": [], "locale": "ru", "last_edit": "2015-06-03T05:55:00", "review_tags": []}, {"title": "Object.freeze()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze", "tags": [], "summary": "Die Object.freeze() Methode friert ein Objekt ein: dass hei\u00dft, es verhindert das Hinzuf\u00fcgen von neuen Eigenschaften zum Objekt; verhindert das Entfernen von bestehenden Eigenschaften; und verhindert, dass bestehende Eigenschaften, oder deren Abz\u00e4hlbarkeit, Konfigurierbarkeit oder Beschreibbarkeit ver\u00e4ndert werden. Im Wesentlichen wird das Objekt praktisch unver\u00e4nderbar gemacht. Die Methode gibt das Objekt in einer eingefrorenen Version zur\u00fcck.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2015-03-14T12:19:13", "review_tags": []}, {"title": "Object.freeze()", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze", "tags": ["ECMAScript5", "\uc5bc\ub9ac\uae30", "\ub3d9\uacb0", "Object", "freeze", "\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8", "JavaScript"], "summary": "Object.freeze()
\uba54\uc11c\ub4dc\ub294 \uac1d\uccb4\ub97c \uc5bc\ub824 \ubc84\ub9bd\ub2c8\ub2e4.\u00a0 \uc5bc\ub824 \ubc84\ub9b0\ub2e4\ub294 \uac83\uc740 \uac1d\uccb4\uc5d0 \uc0c8\ub85c\uc6b4 \uc18d\uc131(property)\ub97c \ucd94\uac00\ud560 \uc218 \uc5c6\uace0, \uac1d\uccb4\uc5d0 \uc6d0\ub798 \uc874\uc7ac\ud558\ub358 \uc18d\uc131\uc744 \uc81c\uac70\ud560 \uc218 \uc5c6\uc73c\uba70, \uac1d\uccb4\uc758 \uc18d\uc131, \uc5f4\uac70\uac00\ub2a5\uc131(enumerability), \uc124\uc815\uac00\ub2a5\uc131(configurability), \uac12 \uc4f0\uae30 \uac00\ub2a5\uc131(writability)\uc744 \ubcc0\uacbd\ud560 \uc218 \uc5c6\uac8c \ub9cc\ub4e0\ub2e4\ub294 \uac83\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. Object.freeze()
\u00a0\uba54\uc11c\ub4dc\ub294\u00a0\uacb0\uad6d \uac1d\uccb4\ub97c \ubd88\ubcc0(immutable) \uac1d\uccb4\ub85c \ub9cc\ub4e4\uc5b4 \uc90d\ub2c8\ub2e4.\u00a0Object.freeze()
\u00a0\uba54\uc11c\ub4dc\ub294 \uc5bc\ub824\uc9c4, \uc989, \ubd88\ubcc0\ud654 \ub41c \uac1d\uccb4\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2015-06-05T22:47:35", "review_tags": []}], "modified": "2015-10-11T13:01:09", "label": "Object.freeze()", "localization_tags": [], "url": "/ca/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze", "last_edit": "2015-10-11T13:01:05", "summary": "El m\u00e8tode Object.freeze()
congela un objecte: \u00e9s a dir, evita que se li puguin afegir noves propietats, eliminar propietats ja existents aix\u00ed com modificar els par\u00e0metres d'enumerabilitat, configurabilitat i possibilitat d'escriptura de les propietats existents. Aix\u00f2, en ess\u00e8ncia fa que l'objecte esdevingui immutable a efectes pr\u00e0ctics. El m\u00e8tode retorna l'objecte que s'ha congelat.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Sintaxi", "title": "Sintaxi"}, {"id": "Par\u00e0metres", "title": "Par\u00e0metres"}, {"id": "Descripci\u00f3", "title": "Descripci\u00f3"}, {"id": "Exemples", "title": "Exemples"}, {"id": "Notes", "title": "Notes"}, {"id": "Especificacions", "title": "Especificacions"}, {"id": "Compatibilitat_amb_navegadors", "title": "Compatibilitat amb navegadors"}, {"id": "Vegeu_tamb\u00e9", "title": "Vegeu tamb\u00e9"}], "id": 163863, "review_tags": []}