{"ScriptPreparationCode":"function m(l1, l2) {\r\n var u = [];\r\n for (var i = 0; i \u003C l1.length; i\u002B\u002B) {\r\n u.push(l1[i]);\r\n }\r\n for (var j = 0; j \u003C l2.length; j\u002B\u002B) {\r\n var dupe = false;\r\n for (var i = 0; i \u003C l1.length; i\u002B\u002B) {\r\n if (l1[i] === l2[j]) {\r\n dupe = true;\r\n }\r\n }\r\n if (!dupe) {\r\n u.push(l2[j]);\r\n }\r\n }\r\n return u;\r\n}\r\n\r\nfunction n(l1, l2) {\r\n let combined = [].concat(l1, l2);\r\n return [...new Set(combined)];\r\n}\r\n\r\nArray.prototype.unique = function() {\r\n var a = this.concat();\r\n for(var i=0; i\u003Ca.length; \u002B\u002Bi) {\r\n for(var j=i\u002B1; j\u003Ca.length; \u002B\u002Bj) {\r\n if(a[i] === a[j])\r\n a.splice(j--, 1);\r\n }\r\n }\r\n\r\n return a;\r\n};\r\n\r\nvar a = [1, 2, 3, 4, 5];\r\nvar b = [3, 3, 4, 5, 5, 6, 7];","TestCases":[{"Name":"m","Code":"var testM = m(a, b);","IsDeferred":false},{"Name":"n","Code":"var testN = n(a, b);","IsDeferred":false},{"Name":"unique","Code":"var testUnique = a.concat(b).unique();","IsDeferred":false}]}