# 习题一
# 1. 选择以下代码输出值
const name = "Lydia";
age = 21;
console.log(delete name);
console.log(delete age);
# 2. 选择以下代码输出值
const person={name:'Lydia};
Object.defineProperty(person,'age',{value:21})
console.log(person);
console.log(Object.keys(person));
# 3. 选择以下代码输出值
function getAge() {
"use strict";
age = 21;
console.log(age);
}
getAge();
习题二 →