I know the syntax is wrong, but in the following code key is supposed to equal the object's key. As the loop iterates, key gets assigned the i value, so a:1, b:2...etc.
var objArr = [
{a: null},
{b: null},
{c: null}
];
for (var i = 0; i < objArr.length; i++) {
objArr[i].key = i;
}
keyproperty of each object. One way is to convert the integer to a letter.