1. const age = 12
    2. const name = "Amy"
    3. // 传统
    4. const person1 = {age: age, name: name}
    5. console.log(person1)
    6. // ES6
    7. const person2 = {age, name}
    8. console.log(person2) //{age: 12, name: "Amy"}