I have an object inside an object, the name of the object could change, how can I get the value inside of the object's object without referring to it by name?
Object {medium-editor-1453741508068-0: Object}
medium-editor-1453741508068-0: Object
value: "this is what i want"
This gets the above:
this.mediumEditor.editor.serialize();
I need something like:
this.mediumEditor.editor.serialize().childObject.value;
Objectthat you can use to find specific data). My mind thinksgetterandsetter, that might be ideal. I do have to mention that your example object is very unclear as to what you are trying to accomplish.medium-editor- ...?Object.keys()to get an array of keys. Then you can do something likeObject.keys(obj).forEach(function(){}).