{"ScriptPreparationCode":"var arr1 = [];\r\nfor(let i = 0; i \u003C 1000; 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 finalArray = _.difference(arr1, arr2)\r\n","IsDeferred":false},{"Name":"Set/Filter","Code":"const outList = new Set([...arr2]);\r\nconst finalArray = arr1.filter(value =\u003E !outList.has(value));","IsDeferred":false}]}