Need assistance in use-export-to-reuse-a-code-block

Challenge Name

use-export-to-reuse-a-code-block has an issue.

Issue Description

why should I must write as this :

export const foo = "bar";
export const boo = "far";

Browser Information

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36.


Your Code

const foo = "bar";
const boo = "far";

export { foo, boo };
export { foo };
export { boo };

See the instructions

Utilizing the first way I demonstrated export, export the two variables.

It’s asking you to write it the first way. The second way is also correct, but that’s not what is being asked of you.

1 Like

ok.thank you so much.:blush: