Hello I am wondering why the value is not changing in my key, value pair set. I believe its not changing because it looks the same before and after using console.log(). I have a picture of the console. It might be an easy solution that has to do something async happening but I can not think of the solution! The code looks like:
console.log(files[index])
files[index].name = "lol"
console.log(files[index])
I have replicated your issue in the console, and can see it does work.
You need to make sure your 'index' is in quotes.