Question from the React ⚛️ test

Archived

What will this component display?

const MyComponent=()=>{
    const myList=['we', 'love', 'devs'];

    return(
       <ul>
           {myList.map((string)=>(
               <li>{string}</li>
            ))}
       </ul>
    );
};
Author: Vincent CotroStatus: Archived(New question!)Question passed 1387 times
-1
Community EvaluationsNo one has reviewed this question yet, be the first!