Tell us what’s happening:
In Firefox 76.0.1 this code will not validate. It results in “ReferenceError: exports is not defined.” Maybe a relatively new browser incompatibility has popped up? I see older references to this problem but nothing recent. And it works fine in Chrome.
Your code so far
export const uppercaseString = (string) => {
return string.toUpperCase();
}
export const lowercaseString = (string) => {
return string.toLowerCase()
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0
.
Challenge: Use export to Share a Code Block
Link to the challenge: