Is there a way to access the value of e
without specifying which group, using only obj
and e
?
Can this method also be used to obtain the value of a
?
Appreciate any help!
let obj:Object = {
a: 'value1',
b: 'value2',
group1: {
c: 'value3',
d: 'value4'
},
group2: {
e: 'value5',
f: 'value6'
}
};