Tell us what’s happening:
This is my code given below. I don’t understand why it isn’t working.
Your code so far
"use strict";
const foo = "bar";
const bar = "foo";
export { foo, bar }
But this code worked :-
"use strict";
export const foo = "bar";
export const bar = "foo";
Is my browser incompatible with export blocks??? Please let me know if you can help me out
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/use-export-to-reuse-a-code-block