{"ScriptPreparationCode":null,"TestCases":[{"Name":"Spread","Code":"const a = {\r\n email: \u0022abc@mail.com\u0022,\r\n phone: \u002212345678\u0022,\r\n};\r\n\r\nconst b = {\r\n app_version: \u0022AP.12\u0022,\r\n appsflyer_id: \u0022askldjajkshdlkjh2323h4234j2l3j4h\u0022,\r\n advertising_id: \u002223;o4h2l34hl2kj3h4kj23h4\u0022,\r\n device_os_version: \u002212\u0022,\r\n device_name: \u0022Aifon 15 PRO\u0022,\r\n firebase_instance_id: \u00222liu3hiuo23y4u23y4ui2y34iy3u4y234\u0022,\r\n};\r\n\r\nconst c = {\r\n first_name: \u0022lalala\u0022,\r\n last_name: \u0022dadada\u0022\r\n};\r\n\r\nlet res = {\r\n email: null,\r\n phone: null,\r\n last_name: null,\r\n first_name: null,\r\n app_version: null,\r\n appsflyer_id: null,\r\n advertising_id: null,\r\n device_os_version: null,\r\n device_name: null,\r\n firebase_instance_id: null,\r\n ...a\r\n};\r\n \r\nres = {\r\n email: null,\r\n phone: null,\r\n last_name: null,\r\n first_name: null,\r\n app_version: null,\r\n appsflyer_id: null,\r\n advertising_id: null,\r\n device_os_version: null,\r\n device_name: null,\r\n firebase_instance_id: null,\r\n ...res,\r\n ...b\r\n};\r\n\r\nres = {\r\n email: null,\r\n phone: null,\r\n last_name: null,\r\n first_name: null,\r\n app_version: null,\r\n appsflyer_id: null,\r\n advertising_id: null,\r\n device_os_version: null,\r\n device_name: null,\r\n firebase_instance_id: null,\r\n ...res,\r\n ...c\r\n}","IsDeferred":false},{"Name":"Object.assign","Code":"const a = {\r\n email: \u0022abc@mail.com\u0022,\r\n phone: \u002212345678\u0022,\r\n};\r\n\r\nconst b = {\r\n app_version: \u0022AP.12\u0022,\r\n appsflyer_id: \u0022askldjajkshdlkjh2323h4234j2l3j4h\u0022,\r\n advertising_id: \u002223;o4h2l34hl2kj3h4kj23h4\u0022,\r\n device_os_version: \u002212\u0022,\r\n device_name: \u0022Aifon 15 PRO\u0022,\r\n firebase_instance_id: \u00222liu3hiuo23y4u23y4ui2y34iy3u4y234\u0022,\r\n};\r\n\r\nconst c = {\r\n first_name: \u0022lalala\u0022,\r\n last_name: \u0022dadada\u0022\r\n};\r\n\r\nlet res = {\r\n email: null,\r\n phone: null,\r\n last_name: null,\r\n first_name: null,\r\n app_version: null,\r\n appsflyer_id: null,\r\n advertising_id: null,\r\n device_os_version: null,\r\n device_name: null,\r\n firebase_instance_id: null,\r\n ...a\r\n};\r\n \r\nObject.assign(res, b);\r\nObject.assign(res, c);","IsDeferred":false},{"Name":"Foreach","Code":"const a = {\r\n email: \u0022abc@mail.com\u0022,\r\n phone: \u002212345678\u0022,\r\n};\r\n\r\nconst b = {\r\n app_version: \u0022AP.12\u0022,\r\n appsflyer_id: \u0022askldjajkshdlkjh2323h4234j2l3j4h\u0022,\r\n advertising_id: \u002223;o4h2l34hl2kj3h4kj23h4\u0022,\r\n device_os_version: \u002212\u0022,\r\n device_name: \u0022Aifon 15 PRO\u0022,\r\n firebase_instance_id: \u00222liu3hiuo23y4u23y4ui2y34iy3u4y234\u0022,\r\n};\r\n\r\nconst c = {\r\n first_name: \u0022lalala\u0022,\r\n last_name: \u0022dadada\u0022\r\n};\r\n\r\nconst res = {\r\n email: null,\r\n phone: null,\r\n last_name: null,\r\n first_name: null,\r\n app_version: null,\r\n appsflyer_id: null,\r\n advertising_id: null,\r\n device_os_version: null,\r\n device_name: null,\r\n firebase_instance_id: null,\r\n \t ...a\r\n};\r\n\r\nObject.keys(b).forEach(key =\u003E {\r\n res[key] = b[key];\r\n });\r\nObject.keys(c).forEach(key =\u003E {\r\n res[key] = c[key];\r\n });","IsDeferred":false},{"Name":"just for","Code":"const a = {\r\n email: \u0022abc@mail.com\u0022,\r\n phone: \u002212345678\u0022,\r\n};\r\n\r\nconst b = {\r\n app_version: \u0022AP.12\u0022,\r\n appsflyer_id: \u0022askldjajkshdlkjh2323h4234j2l3j4h\u0022,\r\n advertising_id: \u002223;o4h2l34hl2kj3h4kj23h4\u0022,\r\n device_os_version: \u002212\u0022,\r\n device_name: \u0022Aifon 15 PRO\u0022,\r\n firebase_instance_id: \u00222liu3hiuo23y4u23y4ui2y34iy3u4y234\u0022,\r\n};\r\n\r\nconst c = {\r\n first_name: \u0022lalala\u0022,\r\n last_name: \u0022dadada\u0022\r\n};\r\n\r\nconst res = {\r\n email: null,\r\n phone: null,\r\n last_name: null,\r\n first_name: null,\r\n app_version: null,\r\n appsflyer_id: null,\r\n advertising_id: null,\r\n device_os_version: null,\r\n device_name: null,\r\n firebase_instance_id: null,\r\n ...a\r\n};\r\n\r\nfor (const key in b) {\r\n\tres[key] = b[key];\r\n}\r\n\r\nfor (const key in c) {\r\n\tres[key] = c[key];\r\n}","IsDeferred":false}]}