{"ScriptPreparationCode":"var first = [];\r\nvar second = [];\r\nfor(var i = 0; i \u003C 10000; i\u002B\u002B) {\r\n first.push(i);\r\n second.push(10000-i);\r\n}\r\n","TestCases":[{"Name":"Javascript Set intersection","Code":"const firstSet = new Set(first);\r\nconst secondSet = new Set(second);\r\n\r\nnew Set([...firstSet].filter(item =\u003E secondSet.has(item)));","IsDeferred":false},{"Name":"Lodash intersection","Code":"_.intersection(first, second)","IsDeferred":false}]}