mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
9 lines
122 B
JavaScript
9 lines
122 B
JavaScript
const input = {};
|
|
|
|
const {
|
|
given_name: givenName,
|
|
'last_name': lastName,
|
|
[`country`]: country,
|
|
...rest
|
|
} = input;
|