結果 : how to filter array of objects in javascript based on value