{"ScriptPreparationCode":"var x = null;\r\nvar testObjectArray = [{\r\n a: 1\r\n}, {\r\n b: 1\r\n}, {\r\n c: [1, 2, 3]\r\n}, {\r\n d: \u0022hello\u0022\r\n}, {\r\n e: \u0022e\u0022,\r\n f: \u0022f\u0022\r\n}];\r\n\r\nvar reduceMergeArrow = (objectArray) =\u003E objectArray.reduce(((accumulator, object) =\u003E Object.assign(accumulator, object)))\r\nfunction reduceMerge(objectArray) {\r\n return objectArray.reduce(((accumulator, object) =\u003E Object.assign(accumulator, object)));\r\n}","TestCases":[{"Name":"lodash merge spread","Code":"x = _.merge(...testObjectArray);","IsDeferred":false},{"Name":"lodash merge loop","Code":"x = {}\r\nfor(const object in testObjectArray) {\r\n x = _.merge(x, object);\r\n}","IsDeferred":false},{"Name":"reduce merge arrow","Code":"x = reduceMergeArrow(testObjectArray);","IsDeferred":false},{"Name":"reduce merge","Code":"x = reduceMerge(testObjectArray);","IsDeferred":false}]}