Mana JavaScript-da obyektlar massasini filtrlash uchun filtr () usulidan foydalanuvchi kod parchasi: ``` javascript const people = [ { ism: 'John', yosh: 25 }, { ism: 'Jane', yosh: 30 }, { ism: 'Bob', yosh: 20 } ]; filter constedPeople = people.filterperson => person.age >= 25); console.log(filteredPeople); // Chiqish: [{ ism: 'John', yosh: 25 }, { ism: 'Jane', yosh: 30 }] ``` Ushbu misolda bizda odamlar deb nomlangan ob'ektlar massasidan foydalanib, u turli shaxslar haqida ma'lumot mavjud. Keyin filtr () usulidan foydalanib, filtrlar deb nomlangan yangi massanani yaratamiz. Ushbu massanada faqat xossalar 25 dan katta yoki teng bo'lgan ob
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence