text: // write a function that when executed as findAdmin(list1, 'JavaScript') returns only the JavaScript developers who are GitHub admins:
  
  
  let list = [
      { firstName: 'Harry', lastName: 'K.', country: 'Brazil', continent: 'Americas', age: 22, language: 'JavaScript', githubAdmin: 'yes' },
      { firstName: 'Kseniya', lastName: 'T.', country: 'Belarus', continent: 'Europe', age: 49, language: 'Ruby', githubAdmin: 'no' },
      { firstName: 'Jing', lastName: 'X.', country: 'China', continent: 'Asia', age: 34, language: 'JavaScript', githubAdmin: 'yes' },
      { firstName: 'Piotr', lastName: 'B.', country: 'Poland', continent: 'Europe', age: 128, language: 'JavaScript', githubAdmin: 'no' },
      { firstName: 'Harry',
      lastName: 'K.',
      country: 'Brazil',
      continent: 'Americas',
      age: 22,
      language: 'JavaScript',
      githubAdmin: 'yes' },
    { firstName: 'Jing',
      lastName: 'X.',
      country: 'China',
      continent: 'Asia',
      age: 34,
      language: 'JavaScript',
      githubAdmin: 'yes' }
    ];
  
    function findAdmin(list, lang) {
  let admin = list.filter(x => x.language == 'JavaScript' && x.githubAdmin == 'yes')
  
  console.log(admin)
  console.log('---------')
  
  return list
  
  
    }
  
    console.log(findAdmin(list))