I have a question about how creative:
I have the “todoList” array and I want to update the “run” value below by assigning the value to the “run” index through an object… is it possible to do this or something similar in JS?
<code>const todoList = ["run", "school", "gymnasium"]
const newRunValue = {value: "soccer", index:0 }
</code>
<code>const todoList = ["run", "school", "gymnasium"]
const newRunValue = {value: "soccer", index:0 }
</code>
const todoList = ["run", "school", "gymnasium"]
const newRunValue = {value: "soccer", index:0 }
2