Question from the React ⚛️ test

Render a list of string from an array in React

Easy

What will this component display?

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

    return(
       <ul>
           {myList.map((string)=>(
               <li>{string}</li>
            ))}
       </ul>
    );
};
Author: EmilieStatus: Published(Update)Question passed 374 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!