{"ScriptPreparationCode":"var first = [1, 3, 4, 5, 7];\r\nvar second = [2, 3, 5, 6];","TestCases":[{"Name":"Lodash intersection","Code":"\r\n_.intersection(first, second)","IsDeferred":false},{"Name":"Javascript includes","Code":"first.filter(a =\u003E second.includes(a))","IsDeferred":false},{"Name":"Javascript indexOf","Code":"first.filter(a =\u003E second.indexOf(a) \u003E= 0)","IsDeferred":false},{"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}]}