GABoth answers are fine, also you can use array.reduce() and doesn’t need two operations(map & filter)Comment·Thread·Aug 11, 2019·Create Array from Array of Objects