{"ScriptPreparationCode":"var arr1 = Array.from({\r\n length: 1000\r\n}, (_, i) =\u003E i \u002B 1)\r\n\r\nvar arr2 = Array.from({\r\n length: 1000\r\n}, (_, i) =\u003E i * 1000)\r\n\r\nvar set1 = new Set(arr1)\r\nvar set2 = new Set(arr2)","TestCases":[{"Name":"includes","Code":"return arr2.filter(x =\u003E arr1.includes(x))","IsDeferred":false},{"Name":"lookup","Code":"return [...set2].filter(x =\u003E set1.has(x))","IsDeferred":false}]}