結果 : how to filter an array of objects in javascript