📅  最后修改于: 2022-03-11 15:02:00.086000             🧑  作者: Mango
var a = {
name:'a',
'light': 'good',
'dark' : {
name: 'dark',
'black': 'bad',
'gray' : 'not so bad'
}
}
// This way you can do
console.log(a.name,a.dark.name);