packages/babel-plugin-proposal-object-rest-spread/test/fixtures/regression/gh-4904/output.js
raw symbols SCIP| 1 | const _excluded = ["b"]; |
| 2 | const _foo = foo(), |
| 3 | { |
| 4 | s |
| 5 | } = _foo, |
| 6 | t = babelHelpers.objectWithoutProperties(_foo, ["s"]); |
| 7 | const _bar = bar(), |
| 8 | { |
| 9 | s: { |
| 10 | q1 |
| 11 | } |
| 12 | } = _bar, |
| 13 | q2 = babelHelpers.objectWithoutProperties(_bar.s, ["q1"]), |
| 14 | q3 = babelHelpers.objectWithoutProperties(_bar, ["s"]); |
| 15 | const { |
| 16 | a |
| 17 | } = foo(_ref => { |
| 18 | let { |
| 19 | b |
| 20 | } = _ref, |
| 21 | c = babelHelpers.objectWithoutProperties(_ref, _excluded); |
| 22 | console.log(b, c); |
| 23 | }); |