Using the sample data from here, I'm attempting to write JS code (to the ES6 standard) that is equivalent to an SQL inner join. The solution below works fine, but it seems rather long. Is there a more concise approach? const employees = [ {name: 'Alice', department_id: 12}, {name: '...