結果 : filter array and return object javascript