{"ScriptPreparationCode":"var arr1 = [];\r\nfor(let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n arr1.push(\u0027\u0027 \u002B i);\r\n}\r\n\r\nvar arr2 = [];\r\nfor(let i = 499; i \u003E= 0; i--) {\r\n arr2.push(\u0027\u0027 \u002B i);\r\n}","TestCases":[{"Name":"_difference","Code":"const finalArray1 = _.difference(arr1, arr2)\r\nconst finalArray2 = _.difference(arr2, arr1)\r\n","IsDeferred":false},{"Name":"Set/Filter","Code":"const outList2 = new Set([...arr2]);\r\nconst outList1 = new Set([...arr1]);\r\nconst finalArray1 = arr1.filter(value =\u003E !outList2.has(value));\r\nconst finalArray2 = arr2.filter(value =\u003E !outList1.has(value));\r\n","IsDeferred":false}]}