π ****Reference
{}
μ λ°°μ΄[]
μ μ μ©ν μ μλ€.const person = {
name: 'Jenny',
age: 20,
phone: '0000000000'
}
function displayPerson(person){
displayAvatar(person.name);
displayName(person.name);
displayProfile(person.name, person.age);
}
function displayPerson(person){
const name = person.name;
const age = person.age;
displayAvatar(name);
displayName(name);
displayProfile(name, age);
}