I have an array of objects and I want to set and reset a reference to a property of one of these objects. Suppose I have the following:

```
var TheReference = null;
var TheArrayOfObjects = [];
var TheObject = {};

TheObject.SomeProp1 = "test1";
TheObject.SomeProp2 = "test2";

TheArrayOfObjects.push(TheObject); // this array could contain hundreds of objects

TheReference = TheObject.SomeProp1; // here I know it's not a reference.
TheReference = "update"; // so of course it doesn't update the object's property

```

My goal is to store a reference to an object's property and then update that property by accessing the reference. If I had `TheReference = TheObject` then that would allow me to reach that particular object but I'm looking to access a property of that object so that I can write `TheReference = "update"` and that value is updated in the object's property. What's a way to store a reference to an object's property?