Tell us what’s happening: I wrote the correct answer but cant pass because of TypeError: unknown: (0 , 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!");
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36 Edg/89.0.774.57
.
Challenge: Reuse JavaScript Code Using import
Link to the challenge: