How to Refrence to HTML Object



I have array elements referenced to HTML objects:

myArr[0] = document.getElementById("myDiv1");
myArr[1] = document.getElementById("myDiv2");

How do I reference to these HTML objects through array using object's
properties to make something like:

myArr["some_proprty_here"].innerHTML = "div content changed"

I know this can be done but I do not see how.

.