{"json_modified": "2016-10-15T11:51:49.844103", "uuid": "b02db668-611c-4d51-970a-2b385c69e226", "title": "Object.assign()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign", "tags": ["Reference", "Object", "polyfill", "JavaScript", "ECMAScript6", "Method"], "translations": [{"uuid": "49e658fe-1e09-4a73-bbeb-a706f23efd72", "title": "Object.assign()", "url": "/ca/docs/Web/JavaScript/Reference/Global_Objects/Object/assign", "tags": [], "summary": "El m\u00e8tode Object.assign()
s'utilitza per copiar els valors de totes les propietats enumerables pr\u00f2pies d'un o m\u00e9s objectes d'or\u00edgens a un objecte objectiu o dest\u00ed. Retornar\u00e0 l'objecte dest\u00ed.", "localization_tags": ["inprogress"], "locale": "ca", "last_edit": "2016-08-02T05:31:28", "review_tags": []}, {"uuid": "27e21f2f-5118-4f46-953d-772b8ca4b2bc", "title": "Object.assign()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/Object/assign", "tags": ["Methode", "polyfill", "Referenz", "JavaScript", "ECMAScript6", "Objekt"], "summary": "Die Methode Object.assign()
kopiert die Werte aller aufz\u00e4hlbaren eigenen Eigenschaften von einem oder mehreren Quellobjekten in ein Zielobjekt. Es wird das Zielobjekt zur\u00fcckgegeben.", "localization_tags": [], "locale": "de", "last_edit": "2016-08-08T09:26:25", "review_tags": []}, {"uuid": "03c72881-87ae-4a6a-b3b8-f6e456fe6de9", "title": "Object.assign()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Object/assign", "tags": ["JavaScript", "Experimental", "polyfill", "Objeto", "Referencia", "ECMAScript6", "M\u00e9todo"], "summary": "El m\u00e9todo Object.assign()
\u00a0es usado para copiar los valores de todas la propiedades propias enumerables de uno o m\u00e1s objetos fuente a un objeto destino. Regresar\u00e1 el objeto destino.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2016-10-15T11:51:40", "review_tags": ["technical", "editorial"]}, {"uuid": "30bb8c70-f884-4aaa-90bf-03197b11940b", "title": "Object.assign()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Object/assign", "tags": ["polyfill", "Object", "R\u00e9f\u00e9rence", "JavaScript", "ECMAScript6", "M\u00e9thode"], "summary": "La m\u00e9thode Object.assign()
est utilis\u00e9e afin de copier les valeurs de toutes les propri\u00e9t\u00e9s directes (non h\u00e9rit\u00e9es) d'un objet qui sont \u00e9num\u00e9rables sur un autre objet cible. Cette m\u00e9thode renvoie l'objet cible.", "localization_tags": [], "locale": "fr", "last_edit": "2016-09-15T03:24:56", "review_tags": []}, {"uuid": "d321fa48-e8a5-4b80-8b0a-812fad0c9648", "title": "Object.assign()", "url": "/it/docs/Web/JavaScript/Reference/Global_Objects/Object/assign", "tags": [], "summary": "La funzione Object.assign()
copia tutte le propriet\u00e0 enumerabili da uno o pi\u00f9 oggetti di origine in un oggetto di destinazione. Restituisce l'oggetto di destinazione.", "localization_tags": [], "locale": "it", "last_edit": "2016-02-22T13:55:00", "review_tags": []}, {"uuid": "b9e98921-cd42-4d32-9321-051050217576", "title": "Object.assign()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Object/assign", "tags": ["Reference", "Object", "polyfill", "JavaScript", "ECMAScript6", "Method"], "summary": "\u4e00\u3064\u4ee5\u4e0a\u306e \u30bd\u30fc\u30b9 \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304b\u3089\u3001\u76f4\u63a5\u6240\u6709\u3067 (own)\u00a0 \u5217\u6319\u53ef\u80fd\u306a (enumerable) \u3059\u3079\u3066\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u3092\u3001\u30bf\u30fc\u30b2\u30c3\u30c8 \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002\u623b\u308a\u5024\u306f\u30bf\u30fc\u30b2\u30c3\u30c8 \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-09-08T19:49:00", "review_tags": ["technical", "editorial"]}, {"uuid": "0d5adc14-ccb9-41e9-a7f9-6d11bf641da2", "title": "Object.assign()", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/Object/assign", "tags": [], "summary": "Object.assign()\u00a0
\uba54\uc11c\ub4dc\ub294 \ud558\ub098 \uc774\uc0c1\uc758 \uc18c\uc2a4 \uc624\ube0c\uc81d\ud2b8\ub85c \ubd80\ud130 \ud0c0\ucf13 \uc624\ube0c\uc81d\ud2b8\ub85c \ud504\ub85c\ud37c\ud2f0\ub4e4\uc744 \ubcf5\uc0ac\ud558\ub294\ub370\u00a0\uc0ac\uc6a9\ub429\ub2c8\ub2e4.", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2016-09-26T21:38:30", "review_tags": []}, {"uuid": "b1d97b2c-c4ef-493f-9ad3-9c30fa152d08", "title": "Object.assign()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Object/assign", "tags": [], "summary": "O m\u00e9todo Object.assign()
\u00e9 usado para copiar os valores de todas as propriedades pr\u00f3prias enumer\u00e1veis de um ou mais objetos de origem para um objeto destino. Este m\u00e9todo ir\u00e1 retornar o objeto destino.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2016-10-07T06:02:09", "review_tags": []}, {"uuid": "22cd434c-c695-4a0a-aef8-11a628ca4b3d", "title": "Object.assign()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Object/assign", "tags": ["polyfill", "Reference", "Object", "Experimental", "R\u00e9f\u00e9rence", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 Object.assign()
\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432\u0441\u0435\u0445 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0435\u043c\u044b\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0432 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442. \u041f\u043e\u0441\u043b\u0435 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u043d \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442.", "localization_tags": [], "locale": "ru", "last_edit": "2016-07-21T13:41:57", "review_tags": []}, {"uuid": "7143589a-e306-4a6f-8c38-d26d30f14763", "title": "Object.assign()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Object/assign", "tags": ["polyfill", "ECMAScript6", "JavaScript", "Method", "Object"], "summary": "Object.assign()
\u65b9\u6cd5\u53ef\u4ee5\u628a\u4efb\u610f\u591a\u4e2a\u7684\u6e90\u5bf9\u8c61\u81ea\u8eab\u7684\u53ef\u679a\u4e3e\u5c5e\u6027\u62f7\u8d1d\u7ed9\u76ee\u6807\u5bf9\u8c61\uff0c\u7136\u540e\u8fd4\u56de\u76ee\u6807\u5bf9\u8c61\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-08-28T17:40:02", "review_tags": []}], "modified": "2016-09-14T10:36:01", "label": "Object.assign()", "localization_tags": [], "locale": "en-US", "id": 126291, "last_edit": "2016-09-14T10:35:52", "summary": "The Object.assign()
method is used to copy the values of all enumerable own properties from one or more source objects to a target object. It will return the target object.", "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": "Examples", "title": "Examples"}, {"id": "Cloning_an_object", "title": "Cloning an object"}, {"id": "Deep_Clone", "title": "Warning for Deep Clone"}, {"id": "Merging_objects", "title": "Merging objects"}, {"id": "Merging_objects_with_same_properties", "title": "Merging objects with same properties"}, {"id": "Copying_symbol-typed_properties", "title": "Copying symbol-typed properties"}, {"id": "Properties_on_the_prototype_chain_and_non-enumerable_properties_cannot_be_copied", "title": "Properties on the prototype chain and non-enumerable properties cannot be copied"}, {"id": "Primitives_will_be_wrapped_to_objects", "title": "Primitives will be wrapped to objects"}, {"id": "Exceptions_will_interrupt_the_ongoing_copying_task", "title": "Exceptions will interrupt the ongoing copying task"}, {"id": "Copying_accessors", "title": "Copying accessors"}, {"id": "Polyfill", "title": "Polyfill"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/Object/assign", "review_tags": []}