packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/issue-9834/output.js
raw| 1 | var input = {}; |
| 2 | var _ref = prefix + 'state', |
| 3 | _ref2 = `${prefix}consents`, |
| 4 | givenName = input.given_name, |
| 5 | lastName = input['last_name'], |
| 6 | country = input[`country`], |
| 7 | state = input[_ref], |
| 8 | consents = input[_ref2], |
| 9 | rest = babelHelpers.objectWithoutProperties(input, ["given_name", "last_name", `country`, _ref, _ref2].map(babelHelpers.toPropertyKey)); |