let obj = { id:1,name:2};

obj['dat'] = 3;

console.log(obj.dat , 1);

相关文章: