Files

12 lines
357 B
JavaScript

const input = {};
const _ref = prefix + 'state',
_ref2 = `${prefix}consents`,
{
given_name: givenName,
'last_name': lastName,
[`country`]: country,
[_ref]: state,
[_ref2]: consents
} = input,
rest = babelHelpers.objectWithoutProperties(input, ["given_name", "last_name", `country`, _ref, _ref2].map(babelHelpers.toPropertyKey));