After i test my code it shows “ReferenceError: exports is not defined”. But i have used “export” only.
Here’s my code:
export const uppercaseString = (string) => {
return string.toUpperCase();
}
export const lowercaseString = (string) => {
return string.toLowerCase()
}
I believe it’s FCC issue, just run the tests
c0g1t8
March 3, 2021, 1:55am
3
@Annestezia
Can a fuller explanation be provided? Please .
As far as I remember in this challenge there was an error message in the tests console (bottom right) even if the code was correct, but if you followed the instructions, tests (Run the tests button) still worked fine.
It’s not an issue anymore, at least I cannot find it, FCC has changed alot since then
c0g1t8
March 3, 2021, 4:36am
5
@Annestezia
If this is a consistent occurrence, a note indicating this message may appear would be helpful. It is distracting.
Is there a feedback mechanism to the authors?
Distracting indeed, it used to be.
And like I said, it’s fixed now, I cannot reproduce this .
As for feedback think recommended way is
when you’re certain that something is malfinctioning is to open github issue
when you’re not sure or have a suggestion, ask on freeCodeCampSupport subforum
@camperextraordinaire