对象的方法 1.Object.assign(target, …sources) let message = await this.agoraInfo(); Object.assign(this.option, message, { channel: this.params.val }); 2.Object.keys(obj) // array like object var obj = { 0: 'a', 1: 'b', 2: 'c' }; console.log(Object.keys(obj)); // console: ['0', '1', '2']