I have an empty object, and i want to push a key value pair to the array. 

```
required.forEach(function(value){
     if(value){
        var tempVal = "event_info.schema." + value;

        // console.log(tempVal);
        var row = {tempVal: [properties[value]['type']]};

     }
});

```

when I console.log(row) it shows

```
{ tempVal: [ 'string' ] }

```

However I want it to be the content of tempVal instead of "tempVal"

i.e. if `tempVal = "name"`, I want row to be `{ name : ['string']}`. How can I achieve this? 
I have tried tempVal.eval() but that is an error. Can you point me to the right direction. Thanks in advance.