Object.assign,Object.keys,Object.values,Object.entries
1.Object.assign用法(拼接对象,返回一个新的对象)letobj1={a:1};letobj2={b:2};letobj3={c:3};letobj=Object.assign({},obj1,obj2,obj3);console.log(obj);//{a:1,b:2,c:3}2.Object.keys用法(获取对象中key值)letobj={a:1,b:2,c:3};console