How to get tea4TeamFCC

Tell us what’s happening:

Your code so far

 * A long process to prepare tea.
 * @return {string} A cup of tea.
const prepareTea = () => 'greenTea';

 * Get given number of cups of tea.
 * @param {number} numOfCups Number of required cups of tea.
 * @return {Array<string>} Given amount of tea cups.
const getTea = (numOfCups) => {
  const teaCups = [];
  for(let cups = 1; cups <= numOfCups; cups += 1) {
    const teaCup = prepareTea();

  return teaCups;

// Add your code below this line

const tea4TeamFCC = []; // :(
// Add your code above this line


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Link to the challenge:

your solution is not correct, but in order to help you understand and learn, can you tell us what your thinking is and where your confusion is?

I think the the getTea(40) result is an objet, so you can not just push an object to an array.
you can use “…” to split it and push.
Hope this will help