{"ScriptPreparationCode":"const intersectionBy = (arr, ...args) =\u003E {\r\n let iteratee = args.pop()\r\n if (typeof iteratee === \u0027string\u0027) {\r\n const prop = iteratee\r\n iteratee = item =\u003E item[prop]\r\n }\r\n\r\n return arr.filter(item1 =\u003E\r\n args.every(arr2 =\u003E arr2.find(item2 =\u003E iteratee(item1) === iteratee(item2)))\r\n )\r\n}","TestCases":[{"Name":"lodash","Code":"_.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor)","IsDeferred":false},{"Name":"ES","Code":"intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor)","IsDeferred":false}]}