Tell us what’s happening:
why am I getting this error
TypeError: unknown: (0 , s.extname) is not a function
Your code so far
import { uppercaseString, lowercaseString } from './string_functions.js';
// add 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.105 Safari/537.36
.
Challenge: Reuse JavaScript Code Using import
Link to the challenge: