let arrObjects = [
{
name:'Irina',
skills: ['js', 'html', 'css']
},
{
name:'Ruslan',
skills: ['nodeJs', 'html', 'css']
},
{
name:'Kate',
skills: ['react', 'js', 'css']
},
{
name:'Dmitry',
skills: ['hh', 'html', 'css']
},
{
name:'Serg',
skills: ['angular', 'mobX', 'js']
},
]
const arrObjects = [
{name:'Irina', skills: ['js', 'html', 'css']},
{name:'Ruslan', skills: ['nodeJs', 'html', 'css']},
{name:'Kate', skills: ['react', 'js', 'css']},
{name:'Dmitry', skills: ['hh', 'html', 'css']},
{name:'Serg', skills: ['angular', 'mobX', 'js']},
];
const result = arrObjects.filter(person => person.skills.includes('js'));
console.log(result);