{"ScriptPreparationCode":null,"TestCases":[{"Name":"option 1","Code":"let arr1 = [\u0022123\u0022, \u0022234\u0022, \u0022345\u0022, \u0022456\u0022, \u0022567\u0022, \u0022678\u0022, \u0022789\u0022, \u0022890\u0022];\r\nlet arr2 = [\u0022123\u0022, \u0022234\u0022, \u0022A45\u0022, \u0022456\u0022, \u0022567\u0022, \u0022A78\u0022, \u0022A89\u0022, \u0022890\u0022];\r\nconst result = [...arr1];\r\n for (const item2 of arr2) {\r\n if (!result.some((item1) =\u003E item1 === item2)) {\r\n result.push(item2);\r\n }\r\n }\r\n return result;","IsDeferred":false},{"Name":"option 2","Code":"let arr1 = [\u0022123\u0022, \u0022234\u0022, \u0022345\u0022, \u0022456\u0022, \u0022567\u0022, \u0022678\u0022, \u0022789\u0022, \u0022890\u0022];\r\nlet arr2 = [\u0022123\u0022, \u0022234\u0022, \u0022A45\u0022, \u0022456\u0022, \u0022567\u0022, \u0022A78\u0022, \u0022A89\u0022, \u0022890\u0022];\r\nlet SOURCE = [...arr1, ...arr2];\r\n\r\n return [...new Set(SOURCE)];","IsDeferred":false}]}