{"ScriptPreparationCode":null,"TestCases":[{"Name":"Object.fromEntries","Code":"var a = [[\u0027a\u0027, 1], [\u0027b\u0027, 2], [\u0027c\u0027, 3]];\r\nvar b = Object.fromEntries(a);","IsDeferred":false},{"Name":"_.fromPairs","Code":"var addonDefinitions = { a: 1, b: 2, c: 3 };\r\nvar definitionsTupleArray = [];\r\n\r\nObject.entries(addonDefinitions).forEach(([definitionId, definition]) =\u003E {\r\n definitionsTupleArray.push([definitionId, definition]);\r\n});\r\n\r\nvar b = _.fromPairs(definitionsTupleArray);","IsDeferred":false},{"Name":"Object.assign","Code":"var obj = {};\r\n\r\nObject.assign(obj, { a: 1 });\r\nObject.assign(obj, { b: 2 });\r\nObject.assign(obj, { c: 3 });","IsDeferred":false},{"Name":"Object spread","Code":"let obj = {};\r\n\r\nobj = { ...obj, ...{ a: 1 }};\r\nobj = { ...obj, ...{ b: 2 }};\r\nobj = { ...obj, ...{ c: 3 }};","IsDeferred":false}]}