SOURCE

let person = { name: '张三' };
person.job = '前端程序员';
Object.defineProperty(person, "age", {
    configurable: false,
    value: 22
});
delete person.age;
person.speak = function () {
    console.log(this.name + "会说汉语和英语")
}
console.log(person);
console 命令行工具 X clear

                    
>
console