{"ScriptPreparationCode":null,"TestCases":[{"Name":"Object.assign","Code":"/*When writing async/deferred tests, use \u0060deferred.resolve()\u0060 to mark test as done*/\r\nconst theObject = {the_first_key: 42, the_second_key: 100};\r\nconst newObject = {third: 99, fourth: 202};\r\n\r\nObject.assign(theObject, newObject);","IsDeferred":false},{"Name":"Conditionals","Code":"/*When writing async/deferred tests, use \u0060deferred.resolve()\u0060 to mark test as done*/\r\nconst theObject = {the_first_key: 42, the_second_key: 100};\r\nconst newObject = {third: 99, fourth: 202};\r\n\r\nif (newObject.one !== undefined) {\r\n theObject.one = newObject.one;\r\n}\r\nif (newObject.two !== undefined) {\r\n theObject.two = newObject.two;\r\n}\r\nif (newObject.third !== undefined) {\r\n theObject.third = newObject.third;\r\n}\r\nif (newObject.fourth !== undefined) {\r\n theObject.fourth = newObject.fourth;\r\n}","IsDeferred":false}]}