JSFiddle - React, Tailwind, and code Playground
JavaScript
const test = () => {
const one = { a:1, b:2, c:3 };
const { one: x { a, b }, = { one };
return x;
}
console.log(test());
const test = () => {
const one = { a:1, b:2, c:3 };
const { one: x { a, b }, = { one };
return x;
}
console.log(test());