{"ScriptPreparationCode":"var first = [...Array(100)].map(it =\u003E ~~(Math.random() * 1000));\r\nvar second = [...Array(20)].map(it =\u003E ~~(Math.random() * 1000));\r\n\r\nconst firstSet = new Set(first);","TestCases":[{"Name":"Javascript Set intersection","Code":"const 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},{"Name":"Javascript Array intersection","Code":"first.filter(it =\u003E second.includes(it))","IsDeferred":false}]}