const trip = { dest: "Bangkok", days: 14 };
const { dest: city } = trip;
console.log(city, typeof dest);WebDEV #test #Frontend
Выберите правильный вариант 👇🏼
WE WebDEV @webb_dev · 8.3K subscribers const trip = { dest: "Bangkok", days: 14 };
const { dest: city } = trip;
console.log(city, typeof dest);