We assign the new array returned by map() to the variable doubled and log it: ... const todoItems = todos.map((todo) => <li key={todo.id}> {todo.text} </li> ...
確定! 回上一頁