確かに！Array.prototype.filter()メソッドを使ってオブジェクトの配列をフィルタリングする例です：
``` 
// Sample array of objects
const people = [
  { name: "Alice", age: 30 },
  { name: "Bob", age: 25 },
  { name: "Charlie", age: 35 },
  { name: "David", age: 28 },
];

// Filter function to find people older than 28
function isOlderThan28(person) {
  return person.age > 28;
}

// Filter the array using the filter function
const olderPeople = people.filter(isOlderThan28);

// Log the filtered array
console.log(olderPeople);
```
この例では、peopleというオブジェクトの配列があります。各オブジェクトには名前と年齢のプロパティがあります。isOlderThan28というフィルター関数を定義し、その人の年齢が28より大きい場合にtrueを返すようにします。次に、filter() メソッドを使用して、フィルタ関数を通過したオブジェクトのみを含む olderPeople という新しい配列を作成します。最後に、フィルタリングされた配列をコンソールに記録します。

これで出力されます：
``` 
[
  { name: "Alice", age: 30 },
  { name: "Charlie", age: 35 },
]
```
フィルタ関数を変更したり、要件に応じて独自の関数を作成したりすることができます。
Certainly! Here's an example using the Array.prototype.filter() method to filter an array of objects:
``` 
// Sample array of objects
const people = [
  { name: "Alice", age: 30 },
  { name: "Bob", age: 25 },
  { name: "Charlie", age: 35 },
  { name: "David", age: 28 },
];

// Filter function to find people older than 28
function isOlderThan28(person) {
  return person.age > 28;
}

// Filter the array using the filter function
const olderPeople = people.filter(isOlderThan28);

// Log the filtered array
console.log(olderPeople);
``` 
In this example, we have an array of objects called people. Each object has a name and an age property. We define a filter function isOlderThan28 that returns true if the person's age is greater than 28. Then, we use the filter() method to create a new array called olderPeople containing only the objects that pass the filter function. Finally, we log the filtered array to the console.

This will output:
``` 
[
  { name: "Alice", age: 30 },
  { name: "Charlie", age: 35 },
]
``` 
You can modify the filter function or create your own based on your requirements.