I have an array:
var array1 = [{ make: "John Deere", model: "4030", time:"-KzbzyNy-nh1E3wQY7uz", uid:0, year:"1952" }]
I want to grab the "time" value and set it to the "uid" value. So, it would become:
var array1 = [{ make: "John Deere", model: "4030", time:"-KzbzyNy-nh1E3wQY7uz", uid:"-KzbzyNy-nh1E3wQY7uz", year:"1952" }]
It's totally fine if "-KzbzyNy-nh1E3wQY7uz" is repeated because it's set to two different keys.
How would I go about this? I'm new to javascript., so sorry if this is too basic of a question.