{"ScriptPreparationCode":"var arr1 = [];\r\nfor(let i = 0; i \u003C 100000; i\u002B\u002B) {\r\n arr1.push({\u0022index\u0022: i});\r\n}\r\n\r\nvar arr2 = [];\r\nfor(let i = 49000; i \u003E= 0; i--) {\r\n arr2.push(arr1[i*2]);\r\n}","TestCases":[{"Name":"Lodash","Code":"const notInArr = _.difference(arr2, arr1)\r\n","IsDeferred":false},{"Name":"Set \u0026 Filter","Code":"const arr2Set = new Set(arr2);\r\n\r\nconst notInArr2 = arr1.filter(value =\u003E !arr2Set.has(value));","IsDeferred":false},{"Name":"map","Code":"const arr2Map = new Map(arr2.map((e2) =\u003E ([e2.index, e2])));\r\n\r\n\r\nconst notInArr2 = arr1.filter(value =\u003E !arr2Map.has(value));","IsDeferred":false}]}