3 lines
58 B
JavaScript

export const foo = 1;
export const { bar, ...foo } = baz;