{"ScriptPreparationCode":null,"TestCases":[{"Name":"Lodash","Code":"console.log(_.intersection([1, 2, 3], [101, 2, 1, 10], [2, 1]))","IsDeferred":false},{"Name":"Native ","Code":"var arrays = [[1, 2, 3], [101, 2, 1, 10], [2, 1]];\r\nconsole.log(arrays.reduce(function(a, b) {\r\n return a.filter(function(value) {\r\n return b.includes(value);\r\n });\r\n}));","IsDeferred":false}]}