{"ScriptPreparationCode":"const firstObject = {};\r\nconst secondObject = {};\r\n\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n firstObject[i] = i;\r\n secondObject[i \u002B 500] = i;\r\n}\r\n\r\nwindow.firstObject = firstObject;\r\nwindow.secondObject = secondObject;","TestCases":[{"Name":"Using the spread operator","Code":"const finalObject = {\r\n\t...window.firstObject,\r\n \t...window.secondObject\r\n};","IsDeferred":false},{"Name":"Using Object.assign","Code":"const finalObject = Object.assign({}, window.firstObject, window.secondObject);","IsDeferred":false}]}