{"json_modified": "2014-09-07T20:10:50.685780", "slug": "Web/JavaScript/Reference/Global_Objects/Object/assign", "tags": ["Object", "Experimental", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Method"], "locale": "en-US", "title": "Object.assign()", "translations": [{"title": "Object.assign()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Object/assign", "tags": ["Object", "Experimental", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Method"], "summary": "", "localization_tags": [], "locale": "ru", "last_edit": "2014-09-03T21:48:25", "review_tags": []}], "modified": "2014-09-07T20:10:50", "label": "Object.assign()", "localization_tags": [], "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign", "last_edit": "2014-09-07T20:10:46", "summary": "The <code><strong>Object.assign()</strong></code> 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": "Standard built-in objects Object Properties Object.prototype Object.prototype.__count__ Object.prototype.__noSuchMethod__ Object.prototype.__parent__ Object.prototype.__proto__ Object.prototype.constructor Methods Object.assign() Object.create() Object.defineProperties() Object.defineProperty() Object.freeze() Object.getOwnPropertyDescriptor() Object.getOwnPropertyNames() Object.getOwnPropertySymbols() Object.getPrototypeOf() Object.is() Object.isExtensible() Object.isFrozen() Object.isSealed() Object.keys() Object.preventExtensions() Object.prototype.__defineGetter__() Object.prototype.__defineSetter__() Object.prototype.__lookupGetter__() Object.prototype.__lookupSetter__() Object.prototype.eval() Object.prototype.hasOwnProperty() Object.prototype.isPrototypeOf() Object.prototype.propertyIsEnumerable() Object.prototype.toLocaleString() Object.prototype.toSource() Object.prototype.toString() Object.prototype.unwatch() Object.prototype.valueOf() Object.prototype.watch() Object.seal() Object.setPrototypeOf() Inheritance: Function Properties Function.arguments Function.arity Function.caller Function.displayName Function.length Function.name Function.prototype Methods Function.prototype.apply() Function.prototype.bind() Function.prototype.call() Function.prototype.isGenerator() Function.prototype.toSource() Function.prototype.toString()"}, {"id": "Summary", "title": "Summary"}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Description", "title": "Description"}, {"id": "Examples", "title": "Examples"}, {"id": "Example:_Cloning_an_object", "title": "Example: Cloning an object"}, {"id": "Example:_Merging_objects", "title": "Example: Merging objects"}, {"id": "Example:_Exception_cases", "title": "Example: Exception cases"}, {"id": "Polyfill", "title": "Polyfill"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "id": 126291, "review_tags": []}