mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
10 lines
128 B
JavaScript
10 lines
128 B
JavaScript
const example = () => {
|
|
const input = {};
|
|
const foo = 'foo';
|
|
|
|
({
|
|
[`${foo}_bar`]: country,
|
|
...rest
|
|
} = input);
|
|
}
|