I'm looking to add an array of values to an array in an object but for some reason, the structure doesn't look right.
I start with the empty object:
var title = "name";
var kw = "fashion";
objectName = {[title]: [] };
I then push a string into the array:
objectName[title].push(kw);
However, when I console.log objectName, I get the following screenshot:
I would like to have the following structure instead:
{"name":["Item 1", "Item 2", "Item 3", "Item 4"]}
Am I building the array incorrectly? I'm just confused as to why the property name (utm_term [assisting]) appears under the array as well.

titleorname(orutm_term, orassisting)?