In javascript, how can I take an object's values:
var fieldsObject = ['contentA', 'contentB', 'contentC', 'contentD'];
and plug them in as keys of another object?
result[contentA][contentB][contentC][contentD]
My inclination is to loop, but not I'm not seeing how to construct this.