Use export to Reuse a Code Block help please

Use export to Reuse a Code Block help please
0.0 0

#1

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:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/use-export-to-reuse-a-code-block


#2

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


#3

that was very helpful, I appreciate it.