Object.keys() ;Object.defineProperty
let obj={
name:'job',
age:18
}
let arr=Object.keys(obj)
console.log(arr);//属性名称
Object.defineProperty(obj,'hehe',{
value:900,
writable:true
})
console.log(obj);
obj.hehe='1000'
console.log(obj);//vue核心