{"ScriptPreparationCode":"\r\nvar arr1 = [\u0027sections-a\u0027, \u0027sections-b\u0027, \u0027sections-c\u0027, \u0027sections-d\u0027, \u0027sections-e\u0027, \u0027sections-f\u0027];\r\n\r\nvar arr2 = [\u0027sections-a\u0027, \u0027sections-b\u0027, \u0027sections-b\u0027, \u0027sections-b\u0027, \u0027sections-b\u0027, \u0027sections-b\u0027];","TestCases":[{"Name":"set","Code":"const arrSet = new Set(arr1)\r\n\r\n\r\nconst filtered = arr2.filter( value =\u003E arrSet.has(value))","IsDeferred":false},{"Name":"lodash","Code":"_.intersection(arr1, arr2) ","IsDeferred":false}]}