{"ScriptPreparationCode":"window.object1 = {};\r\nwindow.object2 = {};\r\nwindow.object3 = {};\r\nwindow.object4 = {};\r\nwindow.object5 = {};\r\nwindow.object6 = {};\r\n\r\nfunction makeid() {\r\n var text = \u0022\u0022;\r\n var possible = \u0022ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\u0022;\r\n\r\n for (var i = 0; i \u003C 5; i\u002B\u002B)\r\n text \u002B= possible.charAt(Math.floor(Math.random() * possible.length));\r\n\r\n return text;\r\n};\r\n\r\nfunction populate(object) {\r\n for (let i = 0; i \u003C 10; i\u002B\u002B) {\r\n object[makeid()] = makeid();\r\n }\r\n};\r\n\r\npopulate(object1);\r\npopulate(object2);\r\npopulate(object3);\r\npopulate(object4);\r\npopulate(object5);\r\npopulate(object6);","TestCases":[{"Name":"Object.assign two objects","Code":"const object7 = Object.assign({}, object1, object2);","IsDeferred":false},{"Name":"Spread two objects","Code":"const object7 = {...object1, ...object2};","IsDeferred":false},{"Name":"Object.assign three objects","Code":"const object7 = Object.assign({}, object1, object2, object3);","IsDeferred":false},{"Name":"Spread three objects","Code":"const object7 = {...object1, ...object2, ...object3};","IsDeferred":false},{"Name":"Object.assign four objects","Code":"const object7 = Object.assign({}, object1, object2, object3, object4);","IsDeferred":false},{"Name":"Spread four objects","Code":"const object7 = {...object1, ...object2, ...object3, ...object4};","IsDeferred":false},{"Name":"Object.assign five objects","Code":"const object7 = Object.assign({}, object1, object2, object3, object4, object5);","IsDeferred":false},{"Name":"Spread five objects","Code":"const object7 = {...object1, ...object2, ...object3, ...object4, ...object5};","IsDeferred":false},{"Name":"Object.assign six objects","Code":"const object7 = Object.assign({}, object1, object2, object3, object4, object5, object6);","IsDeferred":false},{"Name":"Spread six objects","Code":"const object7 = {...object1, ...object2, ...object3, ...object4, ...object5, ...object6};","IsDeferred":false}]}