SOURCE

let obj = {
  firstName:'Mike',
  lastName:'Hurley'
}

let {firstName:f,lastName:l} = obj;

// let f = obj.firstName,
//     l = obj.lastName;

console.log(`${f} ${l}`);

// console.log(lastName);
console 命令行工具 X clear

                    
>
console