Use export to Reuse a Code Block help please

Tell us what’s happening:
I tried using export the way it was shown in the first example and only get a green on the first variable. the second comes up in the console as exported but doesn’t pass the test.

Your code so far

"use strict";
export const foo = "bar";
export const bar= "foo";

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Link to the challenge:

The space between bar and = ^^
I know i know … :stuck_out_tongue:


that was very helpful, I appreciate it.

1 Like