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