I don't know if this question's been answered yet but I'd still ask. Pretty confused over this one, and it might be simple but nonetheless, here goes:
I want to turn this already set object (meaning i have no access to it, just getting it from the server):
Object: { test1: 'test1', test2: 'test2', test3: 'test3' } to (basically just add another object inside it):
Object: { test1: 'test1', test2: 'test2', test3: 'test3', test4: 'test4' } Not sure if this was asked or answered before but if I can get an answer here to clarify this, it would be awesome.