Tell us what’s happening:
Anyone else getting this error?
“TypeError: unknown: s.extname is not a function”
Your code so far
import { uppercaseString, lowercaseString } from './string_functions.js';
// Only change code above this line
uppercaseString("hello");
lowercaseString("WORLD!");
import { uppercaseString, lowercaseString } from './string_functions.js';
// Only change code above this line
uppercaseString("hello");
lowercaseString("WORLD!");
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0.
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.