{"ScriptPreparationCode":null,"TestCases":[{"Name":"spread operator","Code":"const first = {Blah: 1};\r\nconst second = {Hello: \u0027world\u0027};\r\nconst result = {...first, ...second};","IsDeferred":false},{"Name":"helper method","Code":"const UpdateObject = (obj, ...args) =\u003E {\r\n let result = Object.assign({}, obj);\r\n for(let i = 0; i \u003C args.length; i\u002B\u002B){\r\n result = InternalUpdateObject(result, args[i]);\r\n }\r\n};\r\n\r\nconst InternalUpdateObject = (obj, arg) =\u003E {\r\n return Object.assign({}, obj, arg);\r\n};\r\n\r\nconst first = {Blah: 1};\r\nconst second = {Hello: \u0027world\u0027};\r\nconst result = UpdateObject(first, second);","IsDeferred":false}]}