text: function getStudents(classroom) {
    let { hasTeachingAssistant, classList } = classroom;
    let teacher, teachingStudent, students;
    if (hasTeachingAssistant) {
      [teacher, teachingStudent, ...students] = classList;
    } else {
      [teacher, ...students] = classList;
    }
    return students;
  }
  
  console.log(
    getStudents({
      hasTeachingAssistant: false,
      classList: ["Rashida", "John", "Roman", "Lisa", "Omair", "Lukas"],
    })
  );
  