const obj = {};
obj['a']['b']['c'] = 'a'
// Cannot read properties of undefined (reading 'b')const obj = {};
obj['a']['b']['c'] = 'a'
// Cannot read properties of undefined (reading 'b')const obj = {}
obj['a'] = {}
obj['a']['b'] = {};
obj['a']['b']['c'] = 'a';const obj = {}
obj['a'] = {}
obj['a']['b'] = {};
obj['a']['b']['c'] = 'a';