Understand the Differences Between import and requiree

Understand the Differences Between import and requiree
0

#1

Tell us what’s happening:

Your code so far


"use strict";
import { string_functions } from "./string_functions";
capitalizeString("hello!");

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/understand-the-differences-between-import-and-require/


#2

Your solution attempts to import a function named string_functions from a file named string_functions. Also, since the file containing the function is in the same directory, you do not need the ./