{"ScriptPreparationCode":null,"TestCases":[{"Name":"object.assign","Code":"var obj1 = {foo: \u0027bar\u0027, that: 1, type: true};\r\nvar obj2 = Object.assign({}, obj1, {type: false});","IsDeferred":false},{"Name":"keys","Code":"var obj1 = {foo: \u0027bar\u0027, that: 1, type: true};\r\nvar obj2 = Object.keys(obj1).map(key =\u003E obj1[key]);\r\nobj2.type = false;","IsDeferred":false},{"Name":"for in","Code":"var obj1 = {foo: \u0027bar\u0027, that: 1, type: true};\r\nvar obj2 = {};\r\nfor(var key in obj1) {\r\n if(!obj1.hasOwnProperty(key)) {\r\n return;\r\n }\r\n obj2[key] = obj1[key];\r\n}\r\nobj2.type = false;","IsDeferred":false}]}