Exporting variables

Exporting variables
0

#1

“use strict”;
const foo = “bar”;
const bar = “foo”;
export const foo = “bar”;
export const bar = “foo”;

************results (not showing challenge successfull when i try to export variables)
// running test
foo is exported.
bar is exported.
// tests completed


#2

Please, we are not psychic. What is the question?

If this is a FCC challenge, there is an “Ask for Help” button that will provide links to the challenge automatically.


#3

I’m not sure what your problem is but try to delete the word const in export const foo = "bar"; and also export const bar = "foo";